From 0947d7889b104722134b55971f7fd04320731ce1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 14 Aug 2013 14:42:58 +0200 Subject: Get rid of warning --- sqlite/types/driver.cxx | 6 +++--- 1 file 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 query; - typedef odb::result result; - #ifdef _WIN32 { + typedef sqlite::query query; + typedef odb::result result; + transaction t (db->begin ()); result r (db->query (query::wtext == L"t\x00C8st string")); assert (!r.empty ()); -- cgit v1.1