summaryrefslogtreecommitdiff
path: root/src/asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-02-05 11:01:05 +0000
committerCarl Hetherington <cth@carlh.net>2014-02-05 11:01:05 +0000
commit78c94420750c505e59d584c34b33acc953946c2a (patch)
treec58e818e8948d24d0f49dde46fe7bef3feea90ca /src/asset.h
parent15137597824b263c875bd427f7d121eae28d45a6 (diff)
Small bits of tidying up and comments.
Diffstat (limited to 'src/asset.h')
-rw-r--r--src/asset.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/asset.h b/src/asset.h
index bd172428..e6a302c1 100644
--- a/src/asset.h
+++ b/src/asset.h
@@ -48,7 +48,6 @@ public:
Asset (boost::filesystem::path file);
Asset (std::string id);
- virtual std::string pkl_type () const = 0;
virtual bool equals (
boost::shared_ptr<const Asset> other,
EqualityOptions opt,
@@ -77,6 +76,8 @@ public:
std::string hash () const;
protected:
+ virtual std::string pkl_type () const = 0;
+
/** The disk file that represents this asset, if one exists */
mutable boost::filesystem::path _file;
/** Hash of _file, or empty if the hash has not yet been computed */