summaryrefslogtreecommitdiff
path: root/src/object.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-22 19:42:39 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-22 19:42:39 +0000
commit1c724e363a644abaee7efb39d6091e7b30de0fb6 (patch)
tree413e28533849835f8496c8c972bd26e1d27aefbe /src/object.h
parent1e9f115b7cda68ccba99f58d194a2c0eb83e7e23 (diff)
Various work.
Diffstat (limited to 'src/object.h')
-rw-r--r--src/object.h6
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