aboutsummaryrefslogtreecommitdiff
path: root/sqlite
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-08-14 14:42:58 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-08-14 15:21:07 +0200
commit0947d7889b104722134b55971f7fd04320731ce1 (patch)
treecd9b1410dda74d72b3b5575bb4d8f5e1a4d95470 /sqlite
parenta781acfa28312b4bb9549f43117e730ecf9ab13d (diff)
Get rid of warning
Diffstat (limited to 'sqlite')
-rw-r--r--sqlite/types/driver.cxx6
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 ());