Drawable Renderer (#1570), warnings

This commit is contained in:
Tim Sylvester
2023-05-08 09:33:16 -07:00
committed by Bart Louwers
parent 7e26cc9710
commit 0ebaca1221

View File

@@ -514,7 +514,10 @@ void RenderFillLayer::update(const int32_t layerIndex,
drawable->setTileID(tileID);
// Track it.
const auto result = tileDrawables.insert(std::make_pair(tileID, drawable));
#if !defined(NDEBUG)
const auto result =
#endif
tileDrawables.insert(std::make_pair(tileID, drawable));
// This should always insert because we checked previously.
assert(result.second);