diff --git a/src/backend/metadata/location.cpp b/src/backend/metadata/location.cpp index 16f97619..ce68a6d3 100644 --- a/src/backend/metadata/location.cpp +++ b/src/backend/metadata/location.cpp @@ -31,8 +31,6 @@ using namespace std; namespace loot { Location::Location() {} - Location::Location(const std::string& url) : _url(url) {} - Location::Location(const std::string& url, const std::string& name) : _url(url), _name(name) {} bool Location::operator < (const Location& rhs) const { diff --git a/src/backend/metadata/location.h b/src/backend/metadata/location.h index 7a2adb91..080d2880 100644 --- a/src/backend/metadata/location.h +++ b/src/backend/metadata/location.h @@ -33,8 +33,7 @@ namespace loot { class Location { public: Location(); - Location(const std::string& url); - Location(const std::string& url, const std::string& name); + Location(const std::string& url, const std::string& name = ""); bool operator < (const Location& rhs) const; bool operator == (const Location& rhs) const;