From 7ee76c54fca21bed2b94ebf1e71f723670f135fe Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Mon, 11 Apr 2011 18:21:12 +0200 Subject: Add SQLite support to Qt example --- qt/driver.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'qt/driver.cxx') diff --git a/qt/driver.cxx b/qt/driver.cxx index 5dfe13f..f41e4d6 100644 --- a/qt/driver.cxx +++ b/qt/driver.cxx @@ -18,8 +18,7 @@ using namespace odb::core; ostream& operator << (ostream& os, const QString& s) { - os << s.toStdString (); - return os; + return os << s.toStdString (); } int @@ -66,7 +65,7 @@ main (int argc, char* argv[]) t.commit (); } - // Complex Systems Inc.dob + // Complex Systems Inc. // { shared_ptr er (new employer ("Complex Systems Inc")); -- cgit v1.1