aboutsummaryrefslogtreecommitdiff
path: root/tracer/object/test.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'tracer/object/test.hxx')
-rw-r--r--tracer/object/test.hxx22
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