aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-15 18:13:58 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-15 18:13:58 +0200
commit9cfb5dcf71a5cb40b0b2fa6e7b8b633ba0ed5336 (patch)
tree226579119af69fba3bb93ba76edca1b916c49962 /template
parent87991ad75cf0a33b2503dbb8725c3c6609254961 (diff)
Expand the hello example
Diffstat (limited to 'template')
-rw-r--r--template/person.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/person.hxx b/template/person.hxx
index 455bed8..f496693 100644
--- a/template/person.hxx
+++ b/template/person.hxx
@@ -10,8 +10,9 @@
#include <odb/core.hxx>
#pragma db object
-struct person
+class person
{
+public:
person (const std::string& first,
const std::string& last,
unsigned short age)