From 9cfb5dcf71a5cb40b0b2fa6e7b8b633ba0ed5336 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 15 Sep 2010 18:13:58 +0200 Subject: Expand the hello example --- template/person.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'template') 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 #pragma db object -struct person +class person { +public: person (const std::string& first, const std::string& last, unsigned short age) -- cgit v1.1