8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 00:03:03 +01:00

Avoid warnings in pre-c++11 compiler modes (gcc)

This commit is contained in:
Dmitry Yemanov 2016-11-24 11:02:55 +03:00
parent a2d0fae543
commit acf9fbee1b

View File

@ -137,7 +137,8 @@ public:
}
else if (dpNumber)
{
dpMap.insert(pos, {dpSequence, dpNumber, ++dpMapMark});
const DPItem item = {dpSequence, dpNumber, ++dpMapMark};
dpMap.insert(pos, item);
if (dpMap.getCount() == MAX_DPMAP_ITEMS)
freeOldestMapItems();