From dce3761b0f82a9273aca8a0d39743aee6740c8e4 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 2 Feb 2021 22:02:29 +0100 Subject: Some compilers don't like x = {} where x is a boost::optional Fails on ubuntu 16 and debian 9. --- src/asset.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); } -- cgit v1.2.3