diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/query/test.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/query/test.hxx b/common/query/test.hxx index 34c489d..59655f6 100644 --- a/common/query/test.hxx +++ b/common/query/test.hxx @@ -12,8 +12,6 @@ #include <odb/core.hxx> -typedef std::auto_ptr<std::string> string_ptr; // @@ tmp - #pragma odb object struct person { @@ -40,6 +38,7 @@ struct person #pragma odb column ("first") std::string first_name_; + typedef std::auto_ptr<std::string> string_ptr; // @@ tmp #pragma odb column ("middle") type ("TEXT") string_ptr middle_name_; |