diff options
Diffstat (limited to 'cpp/src/Freeze/MapI.cpp')
-rw-r--r-- | cpp/src/Freeze/MapI.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/Freeze/MapI.cpp b/cpp/src/Freeze/MapI.cpp index 0b521017f27..631aa714aad 100644 --- a/cpp/src/Freeze/MapI.cpp +++ b/cpp/src/Freeze/MapI.cpp @@ -729,7 +729,9 @@ Freeze::MapHelperI::MapHelperI(const ConnectionIPtr& connection, const MapIndexBasePtr& indexBase = *p; assert(indexBase->_impl != 0); assert(indexBase->_map == 0); - bool inserted = +#ifndef NDEBUG + bool inserted = +#endif _indices.insert(IndexMap::value_type(indexBase->name(), indexBase)).second; assert(inserted); indexBase->_map = this; |