diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-08-14 14:42:58 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-08-14 15:21:07 +0200 |
commit | 0947d7889b104722134b55971f7fd04320731ce1 (patch) | |
tree | cd9b1410dda74d72b3b5575bb4d8f5e1a4d95470 /sqlite/types | |
parent | a781acfa28312b4bb9549f43117e730ecf9ab13d (diff) |
Get rid of warning
Diffstat (limited to 'sqlite/types')
-rw-r--r-- | sqlite/types/driver.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sqlite/types/driver.cxx b/sqlite/types/driver.cxx index 1e148e0..fa0002f 100644 --- a/sqlite/types/driver.cxx +++ b/sqlite/types/driver.cxx @@ -58,11 +58,11 @@ main (int argc, char* argv[]) assert (o == *o1); } - typedef sqlite::query<object> query; - typedef odb::result<object> result; - #ifdef _WIN32 { + typedef sqlite::query<object> query; + typedef odb::result<object> result; + transaction t (db->begin ()); result r (db->query<object> (query::wtext == L"t\x00C8st string")); assert (!r.empty ()); |