From 4badc791d1681336cb77bed9b46ed76f842cd21f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 1 Dec 2010 17:18:33 +0200 Subject: Remove unused object id accessor --- container/person.hxx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'container/person.hxx') diff --git a/container/person.hxx b/container/person.hxx index a36c0e8..f9160b8 100644 --- a/container/person.hxx +++ b/container/person.hxx @@ -16,8 +16,7 @@ class person { public: - person (const std::string& first, - const std::string& last) + person (const std::string& first, const std::string& last) : first_ (first), last_ (last) { } @@ -82,13 +81,6 @@ public: return age_weight_; } -public: - unsigned long - id () const - { - return id_; - } - private: friend class odb::access; -- cgit v1.1