mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 19:23:03 +01:00
Fixed the "typename" error message. The fix involved adding the typename
keyname to a declaration. It is possible that older compilers don't support typename, so in the future we may have to use autoconf to detect compiler support.
This commit is contained in:
parent
fa6e74791a
commit
c3a3381a6e
@ -686,7 +686,7 @@ template <class T, USHORT TYPE = type_vec>
|
|||||||
class vec_base : protected pool_alloc<TYPE>
|
class vec_base : protected pool_alloc<TYPE>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef Firebird::vector<T>::iterator iterator;
|
typedef typename Firebird::vector<T>::iterator iterator;
|
||||||
|
|
||||||
static vec_base* newVector(MemoryPool& p, int len)
|
static vec_base* newVector(MemoryPool& p, int len)
|
||||||
{ return new(p) vec_base<T,TYPE>(p, len); }
|
{ return new(p) vec_base<T,TYPE>(p, len); }
|
||||||
|
Loading…
Reference in New Issue
Block a user