From 1c724e363a644abaee7efb39d6091e7b30de0fb6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 22 Jan 2014 19:42:39 +0000 Subject: Various work. --- src/object.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/object.h') 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 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 -- cgit v1.2.3