Fix compilation with clang++ 3.6.2.

This commit is contained in:
Jean-Marc Lasgouttes 2015-11-02 16:13:38 +01:00
parent a0b9b9b678
commit cb8c52bd0c

View File

@ -3435,7 +3435,7 @@ Buffer::References & Buffer::getReferenceCache(docstring const & label)
return it->second.second;
static InsetLabel const * dummy_il = 0;
static References const dummy_refs;
static References const dummy_refs = References();
it = d->ref_cache_.insert(
make_pair(label, make_pair(dummy_il, dummy_refs))).first;
return it->second.second;