diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-07-20 11:08:04 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-07-20 11:08:04 +0200 |
commit | afc6505d75dbc391452f41081af457045d5e7526 (patch) | |
tree | e351bf3c792f85811e3bbcc75b8a8ead2f22ed0b /tracer/object/test.hxx | |
parent | ca42db0da0d12b1dcdee1cc82dbbd171131cb628 (diff) |
Get rid of the session mechanism for now
Test low-level API instead.
Diffstat (limited to 'tracer/object/test.hxx')
-rw-r--r-- | tracer/object/test.hxx | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/tracer/object/test.hxx b/tracer/object/test.hxx index a988411..d640e75 100644 --- a/tracer/object/test.hxx +++ b/tracer/object/test.hxx @@ -10,14 +10,14 @@ #include <odb/core.hxx> #pragma odb object -struct object1 +struct object { - object1 (unsigned long id) + object (unsigned long id) : id_ (id) { } - object1 () + object () { } @@ -25,20 +25,4 @@ struct object1 unsigned long id_; }; -#pragma odb object -struct object2 -{ - object2 (const std::string& id) - : id_ (id) - { - } - - object2 () - { - } - - #pragma odb id - std::string id_; -}; - #endif // TEST_HXX |