aboutsummaryrefslogtreecommitdiff
path: root/template/person.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'template/person.hxx')
-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)