aboutsummaryrefslogtreecommitdiff
path: root/boost/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'boost/driver.cxx')
-rw-r--r--boost/driver.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/boost/driver.cxx b/boost/driver.cxx
index d38eb15..5a096f6 100644
--- a/boost/driver.cxx
+++ b/boost/driver.cxx
@@ -4,6 +4,8 @@
#include <memory> // std::auto_ptr
#include <iostream>
+#include <boost/uuid/uuid_io.hpp>
+
#include <odb/database.hxx>
#include <odb/session.hxx>
#include <odb/transaction.hxx>
@@ -124,7 +126,8 @@ main (int argc, char* argv[])
cout << " email: " << *j << endl;
}
- cout << endl;
+ cout << " id: {" << p->id () << '}' << endl
+ << endl;
}
t.commit ();