summaryrefslogtreecommitdiff
path: root/src/cpl.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-09-27 20:20:23 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-27 20:20:23 +0200
commit018bb01d2190cb57ded144fcb3944c3312abbbba (patch)
tree2377315ed16c56d99e612d6dec8b9e6e7df26c94 /src/cpl.h
parent627dfd9a5cdcce9e4122ef3041a38c3da2d3a120 (diff)
<ContentVersion> is optional in Interop so we can't assume it's there.
Diffstat (limited to 'src/cpl.h')
-rw-r--r--src/cpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpl.h b/src/cpl.h
index 72366ee3..c1f505df 100644
--- a/src/cpl.h
+++ b/src/cpl.h
@@ -140,7 +140,7 @@ public:
return _content_kind;
}
- ContentVersion content_version () const;
+ boost::optional<ContentVersion> content_version () const;
std::vector<ContentVersion> content_versions () const {
return _content_versions;