summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-12-08 13:21:21 +0000
committerCarl Hetherington <cth@carlh.net>2014-12-08 13:21:21 +0000
commite159aafa457003982101cb6c03674d5e2ed2c0ab (patch)
treee6df615efaaa00b2461325c81dcea6f7101caa0b /src/lib
parent726f18338c5aaf9119bd10517d23584e32fdeccb (diff)
Hand-apply 63142d58947cf10ed6f6eaeb42508eaa374a6a93 from master; fix calls to new digest() call.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/content.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/content.cc b/src/lib/content.cc
index 91faff116..cc29345a2 100644
--- a/src/lib/content.cc
+++ b/src/lib/content.cc
@@ -218,7 +218,7 @@ Content::clone () const
string
Content::technical_summary () const
{
- return String::compose ("%1 %2 %3", path_summary(), digest(), position().seconds());
+ return String::compose ("%1 %2 %3", path_summary(), digest().get_value_or("X"), position().seconds());
}
DCPTime
@@ -235,7 +235,7 @@ Content::identifier () const
{
SafeStringStream s;
- s << Content::digest()
+ s << Content::digest().get_value_or("X")
<< "_" << position().get()
<< "_" << trim_start().get()
<< "_" << trim_end().get();