diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-04-01 18:08:51 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-04 18:11:34 +0200 |
commit | 14ca0adb63a48e5bc14a4a2b84e0d108be6dfdd1 (patch) | |
tree | d8440b4ba42b0cbb432397007b91479574b03782 /boost/sqlite/template/test.hxx | |
parent | d2c7dda761658e45d150172991b5231d0e979007 (diff) |
Add SQLite-specific tests for Boost profile
Diffstat (limited to 'boost/sqlite/template/test.hxx')
-rw-r--r-- | boost/sqlite/template/test.hxx | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/boost/sqlite/template/test.hxx b/boost/sqlite/template/test.hxx new file mode 100644 index 0000000..b6cd18e --- /dev/null +++ b/boost/sqlite/template/test.hxx @@ -0,0 +1,27 @@ +// file : boost/sqlite/template/test.hxx +// author : Constantin Michael <constantin@codesynthesis.com> +// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef TEST_HXX +#define TEST_HXX + +#include <odb/core.hxx> + +#pragma db object +struct object +{ + object (unsigned long id) + : id_ (id) + { + } + + object () + { + } + + #pragma db id + unsigned long id_; +}; + +#endif // TEST_HXX |