aboutsummaryrefslogtreecommitdiff
path: root/qt/driver.cxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-04-11 18:21:12 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-04-22 18:45:40 +0200
commit7ee76c54fca21bed2b94ebf1e71f723670f135fe (patch)
tree9d8e967c58728189e5923a8ce9b9f8fa87010641 /qt/driver.cxx
parent5da0df2986a62e1254d27c8cfbc383ba580555e1 (diff)
Add SQLite support to Qt example
Diffstat (limited to 'qt/driver.cxx')
-rw-r--r--qt/driver.cxx5
1 files changed, 2 insertions, 3 deletions
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<employer> er (new employer ("Complex Systems Inc"));