diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-28 17:52:25 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-28 17:52:25 +0200 |
commit | 0b4c59824e3b2b0411dd33835c67f6cd36d60a91 (patch) | |
tree | 3d1740029ae6a4fc388500787413cac5af6d4abb /common/query | |
parent | 3b27ca96f2f4c2b76f65675a988482e19220fa66 (diff) |
Simplify tests by using literal names
Diffstat (limited to 'common/query')
-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 3d10cc2..883462e 100644 --- a/common/query/test.hxx +++ b/common/query/test.hxx @@ -38,9 +38,8 @@ struct person #pragma db column ("first") std::string first_name_; - typedef std::auto_ptr<std::string> string_ptr; // @@ tmp #pragma db column ("middle") type ("TEXT") - string_ptr middle_name_; + std::auto_ptr<std::string> middle_name_; #pragma db column ("last") std::string last_name_; |