aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--view/employee.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/view/employee.hxx b/view/employee.hxx
index c39141b..39d494f 100644
--- a/view/employee.hxx
+++ b/view/employee.hxx
@@ -101,6 +101,14 @@ public:
return last_;
}
+ // Age.
+ //
+ unsigned short
+ age () const
+ {
+ return age_;
+ }
+
// Employer.
//
shared_ptr<employer>