diff options
Diffstat (limited to 'src/object.h')
| -rw-r--r-- | src/object.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/object.h b/src/object.h index f2ef4c13..636c76a0 100644 --- a/src/object.h +++ b/src/object.h @@ -17,6 +17,9 @@ */ +#ifndef LIBDCP_OBJECT_H +#define LIBDCP_OBJECT_H + #include <string> namespace dcp { @@ -27,6 +30,7 @@ class Object public: Object (); Object (std::string id); + virtual ~Object () {} std::string id () const { return _id; @@ -37,3 +41,5 @@ protected: }; } + +#endif |
