diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-02-02 22:02:29 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-02-02 22:51:49 +0100 |
| commit | dce3761b0f82a9273aca8a0d39743aee6740c8e4 (patch) | |
| tree | cd851daaf7e9e7b7f9b0f5773695e78fa0016b45 /src | |
| parent | a31aee3f2909992ac717ecc72441240e7d1a56f7 (diff) | |
Some compilers don't like x = {} where x is a boost::optional<string>
Fails on ubuntu 16 and debian 9.
Diffstat (limited to 'src')
| -rw-r--r-- | src/asset.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asset.cc b/src/asset.cc index b911c70b..e6822903 100644 --- 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>(); } |
