mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Remove unnecessary Location constructor
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user