llvm: fix error compiling with recent gcc
Solution from https://github.com/digego/extempore/issues/318
This commit is contained in:
parent
4db99f4012
commit
912f67a8dc
|
|
@ -101,7 +101,7 @@ public:
|
||||||
|
|
||||||
~ValueMap() {}
|
~ValueMap() {}
|
||||||
|
|
||||||
bool hasMD() const { return MDMap; }
|
bool hasMD() const { return bool(MDMap); }
|
||||||
MDMapT &MD() {
|
MDMapT &MD() {
|
||||||
if (!MDMap)
|
if (!MDMap)
|
||||||
MDMap.reset(new MDMapT);
|
MDMap.reset(new MDMapT);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user