mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 03:23:03 +01:00
Avoid warnings in pre-c++11 compiler modes (gcc)
This commit is contained in:
parent
a2d0fae543
commit
acf9fbee1b
@ -137,7 +137,8 @@ public:
|
|||||||
}
|
}
|
||||||
else if (dpNumber)
|
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)
|
if (dpMap.getCount() == MAX_DPMAP_ITEMS)
|
||||||
freeOldestMapItems();
|
freeOldestMapItems();
|
||||||
|
Loading…
Reference in New Issue
Block a user