mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 15:23:02 +01:00
fixing posix build
This commit is contained in:
parent
dd93f68491
commit
151368f3cc
@ -51,7 +51,7 @@ public:
|
||||
AutoPtr<Where, Clear>(Where* v) {ptr = v;}
|
||||
operator Where*() {return ptr;}
|
||||
operator bool() {return ptr ? true : false;}
|
||||
operator !() {return ptr ? false : true;}
|
||||
bool operator !() {return ptr ? false : true;}
|
||||
Where* operator->() {return ptr;}
|
||||
~AutoPtr<Where, Clear>() {Clear::clear(ptr);}
|
||||
};
|
||||
|
@ -77,7 +77,7 @@ template<typename BasePair>
|
||||
Pair(MemoryPool& p, const Pair& lp)
|
||||
: BasePair(p, lp) { }
|
||||
Pair() : BasePair(AutoStorage::getAutoMemoryPool()) { }
|
||||
Pair(const BasePair::first_type& v1, const BasePair::second_type& v2)
|
||||
Pair(const Pair_first_type& v1, const Pair_second_type& v2)
|
||||
: BasePair(AutoStorage::getAutoMemoryPool(), v1, v2) { }
|
||||
Pair(const Pair& lp)
|
||||
: BasePair(AutoStorage::getAutoMemoryPool(), lp) { }
|
||||
|
Loading…
Reference in New Issue
Block a user