This commit is contained in:
cliffordm 2019-10-31 10:45:51 +00:00 committed by GitHub
commit 0ca9507260
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,7 +101,7 @@ public:
~ValueMap() {}
bool hasMD() const { return MDMap; }
bool hasMD() const { return static_cast<bool>(MDMap); }
MDMapT &MD() {
if (!MDMap)
MDMap.reset(new MDMapT);