mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 23:23:04 +01:00
Please GCC in pool_alloc_rpt template declaration
This commit is contained in:
parent
ca4ce0669a
commit
7fb0574dbd
@ -43,11 +43,11 @@ private:
|
||||
void* operator new[](size_t s) { return 0; }
|
||||
};
|
||||
|
||||
template<class RPT, SSHORT BLOCK_TYPE = 0>
|
||||
template<typename RPT, SSHORT BLOCK_TYPE = 0>
|
||||
class pool_alloc_rpt : public blk
|
||||
{
|
||||
public:
|
||||
typedef typename RPT blk_repeat_type;
|
||||
typedef RPT blk_repeat_type;
|
||||
#ifdef DEBUG_GDS_ALLOC
|
||||
void* operator new(size_t s, MemoryPool& p, int rpt, char* file, int line)
|
||||
{ return p.calloc(s + sizeof(RPT) * rpt, BLOCK_TYPE, file, line); }
|
||||
|
Loading…
Reference in New Issue
Block a user