aboutsummaryrefslogtreecommitdiff
path: root/include/datetime/locations.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/datetime/locations.h')
-rw-r--r--include/datetime/locations.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/datetime/locations.h b/include/datetime/locations.h
index fc776bb..b840436 100644
--- a/include/datetime/locations.h
+++ b/include/datetime/locations.h
@@ -39,18 +39,10 @@ namespace datetime {
class Location
{
public:
+ Location (const std::string& zone, const std::string& name);
const std::string& zone() const;
-
const std::string& name() const;
-
- bool operator== (const Location& that) const
- {
- return (name() == that.name()) &&
- (zone() == that.zone()) &&
- (m_offset == that.m_offset);
- }
-
- Location (const std::string& zone, const std::string& name);
+ bool operator== (const Location& that) const;
private: