mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 00:03:03 +01:00
Second attempt, this time MSVC10 complains
This commit is contained in:
parent
acf9fbee1b
commit
24e7e1b6ee
@ -137,8 +137,7 @@ public:
|
||||
}
|
||||
else if (dpNumber)
|
||||
{
|
||||
const DPItem item = {dpSequence, dpNumber, ++dpMapMark};
|
||||
dpMap.insert(pos, item);
|
||||
dpMap.insert(pos, DPItem(dpSequence, dpNumber, ++dpMapMark));
|
||||
|
||||
if (dpMap.getCount() == MAX_DPMAP_ITEMS)
|
||||
freeOldestMapItems();
|
||||
@ -178,6 +177,14 @@ private:
|
||||
ULONG physNum;
|
||||
ULONG mark;
|
||||
|
||||
DPItem()
|
||||
: seqNum(0), physNum(0), mark(0)
|
||||
{}
|
||||
|
||||
DPItem(ULONG sn, ULONG pn, ULONG mk)
|
||||
: seqNum(sn), physNum(pn), mark(mk)
|
||||
{}
|
||||
|
||||
static ULONG generate(const DPItem& item)
|
||||
{
|
||||
return item.seqNum;
|
||||
|
Loading…
Reference in New Issue
Block a user