diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-30 18:47:05 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-30 18:47:05 +0200 |
commit | eae9d8a277ab7d20228ac84bde36c75ef1d7b74d (patch) | |
tree | 0d45a8fed20be96b50b4d898fd6fafe536ed50a5 /hello/person.hxx | |
parent | fe69aa1a2b29e577b86026f7bb56a19f5b3bdfef (diff) |
Simplify hello example by using id returned from persist()
Diffstat (limited to 'hello/person.hxx')
-rw-r--r-- | hello/person.hxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/hello/person.hxx b/hello/person.hxx index 7a939c7..69b1878 100644 --- a/hello/person.hxx +++ b/hello/person.hxx @@ -44,13 +44,6 @@ public: age_ = age; } -public: - unsigned long - id () const - { - return id_; - } - private: friend class odb::access; |