Remove unnecessary Location constructor

This commit is contained in:
Oliver Hamlet
2016-03-24 20:29:47 +00:00
parent 06d7a4b31b
commit fc12632b55
2 changed files with 1 additions and 4 deletions
-2
View File
@@ -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 {
+1 -2
View File
@@ -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;