summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-11-30 09:25:32 +0000
committerCarl Hetherington <cth@carlh.net>2012-11-30 09:25:32 +0000
commitea1e0300d6b0d4e3dbdcaaeb20affb5c3ae49214 (patch)
treecf0359b19f27cd84a2e1be3b89574832b2506531
parent42d80cd83800402cdb36fdb3457756dab5a24e63 (diff)
Add missing virtual destructor.
-rw-r--r--src/asset.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/asset.h b/src/asset.h
index 492f16be..cc6fbcb7 100644
--- a/src/asset.h
+++ b/src/asset.h
@@ -49,6 +49,8 @@ public:
*/
Asset (std::string directory, std::string file_name = "");
+ virtual ~Asset() {}
+
/** Write details of the asset to a CPL stream.
* @param s Stream.
*/