diff options
Diffstat (limited to 'tracer/template/test.hxx')
-rw-r--r-- | tracer/template/test.hxx | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tracer/template/test.hxx b/tracer/template/test.hxx new file mode 100644 index 0000000..06d7155 --- /dev/null +++ b/tracer/template/test.hxx @@ -0,0 +1,27 @@ +// file : tracer/template/test.hxx +// author : Boris Kolpackov <boris@codesynthesis.com> +// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef TEST_HXX +#define TEST_HXX + +#include <odb/core.hxx> + +#pragma odb object +struct object +{ + object (unsigned long id) + : id_ (id) + { + } + + object () + { + } + + #pragma odb id + unsigned long id_; +}; + +#endif // TEST_HXX |