aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-12-01 17:18:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-12-01 17:18:33 +0200
commit4badc791d1681336cb77bed9b46ed76f842cd21f (patch)
tree027a45d12f1b61884bb98e8e6c94f8a1d43a22e4
parenteae9d8a277ab7d20228ac84bde36c75ef1d7b74d (diff)
Remove unused object id accessor
-rw-r--r--container/person.hxx10
-rw-r--r--mapping/person.hxx7
-rw-r--r--query/person.hxx7
-rw-r--r--template/person.hxx7
4 files changed, 1 insertions, 30 deletions
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;
diff --git a/mapping/person.hxx b/mapping/person.hxx
index b091944..ba07ef5 100644
--- a/mapping/person.hxx
+++ b/mapping/person.hxx
@@ -90,13 +90,6 @@ public:
return married_;
}
-public:
- unsigned long
- id () const
- {
- return id_;
- }
-
private:
friend class odb::access;
diff --git a/query/person.hxx b/query/person.hxx
index ad2adc3..72da079 100644
--- a/query/person.hxx
+++ b/query/person.hxx
@@ -38,13 +38,6 @@ public:
return age_;
}
-public:
- unsigned long
- id () const
- {
- return id_;
- }
-
private:
friend class odb::access;
diff --git a/template/person.hxx b/template/person.hxx
index f496693..1127e78 100644
--- a/template/person.hxx
+++ b/template/person.hxx
@@ -38,13 +38,6 @@ public:
return age_;
}
-public:
- unsigned long
- id () const
- {
- return id_;
- }
-
private:
friend class odb::access;