aboutsummaryrefslogtreecommitdiff
path: root/view/employee.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-09 15:00:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-09 15:00:19 +0200
commit0fe5c407fe01b2707410170ad1e5492e678599c5 (patch)
tree9f11aedc0d24738c563958179604037a6b12bfe6 /view/employee.hxx
parent9ca880fed878f7cdd4dad6769df839bde653071e (diff)
Suppress Clang warning about unused private data member
Diffstat (limited to 'view/employee.hxx')
-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>