summaryrefslogtreecommitdiff
path: root/accessors.h
diff options
context:
space:
mode:
Diffstat (limited to 'accessors.h')
-rw-r--r--accessors.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/accessors.h b/accessors.h
index 8c6391e..017d930 100644
--- a/accessors.h
+++ b/accessors.h
@@ -56,6 +56,7 @@ public:
explicit Accessors(const T &t) : m_t(t) {}
const T &operator() () const { return m_t; }
+ T operator= (const T &t) {return m_t = t; }
private:
T m_t;