diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-04-02 23:12:31 +0200 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-04-02 23:12:31 +0200 |
commit | a3bd6dc04d5210ddeffdda5884f51c0e5b37ec27 (patch) | |
tree | 41ec4059d1c713e117126e1e131564946e0b27ad /include/class.h | |
parent | bbdcdae98979e002476fc1e8296effd0b270928b (diff) |
added Class::implements() method to allow classes that implement interfaces (request from issue #52)
Diffstat (limited to 'include/class.h')
-rw-r--r-- | include/class.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/class.h b/include/class.h index 8bc034c..8c78069 100644 --- a/include/class.h +++ b/include/class.h @@ -186,7 +186,7 @@ public: * @param interface Interface object * @return Class Same object to allow chaining */ -// Class<T> &implements(const Interface &interface) { ClassBase::implements(interface); return *this; } + Class<T> &implements(const Interface &interface) { ClassBase::implements(interface); return *this; } /** * Add a base class |