projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a31aee3
)
Some compilers don't like x = {} where x is a boost::optional<string>
author
Carl Hetherington
<cth@carlh.net>
Tue, 2 Feb 2021 21:02:29 +0000
(22:02 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 2 Feb 2021 21:51:49 +0000
(22:51 +0100)
Fails on ubuntu 16 and debian 9.
src/asset.cc
patch
|
blob
|
history
diff --git
a/src/asset.cc
b/src/asset.cc
index b911c70b958435c754d2e153c58edc811789e18e..e68229033c8609b122423b7c44d8809b6dfb6242 100644
(file)
--- a/
src/asset.cc
+++ b/
src/asset.cc
@@
-162,7
+162,7
@@
void
Asset::set_file (path file) const
{
_file = absolute (file);
- _hash =
{}
;
+ _hash =
boost::optional<string>()
;
}