mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:03:03 +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;}
|
AutoPtr<Where, Clear>(Where* v) {ptr = v;}
|
||||||
operator Where*() {return ptr;}
|
operator Where*() {return ptr;}
|
||||||
operator bool() {return ptr ? true : false;}
|
operator bool() {return ptr ? true : false;}
|
||||||
operator !() {return ptr ? false : true;}
|
bool operator !() {return ptr ? false : true;}
|
||||||
Where* operator->() {return ptr;}
|
Where* operator->() {return ptr;}
|
||||||
~AutoPtr<Where, Clear>() {Clear::clear(ptr);}
|
~AutoPtr<Where, Clear>() {Clear::clear(ptr);}
|
||||||
};
|
};
|
||||||
|
@ -77,7 +77,7 @@ template<typename BasePair>
|
|||||||
Pair(MemoryPool& p, const Pair& lp)
|
Pair(MemoryPool& p, const Pair& lp)
|
||||||
: BasePair(p, lp) { }
|
: BasePair(p, lp) { }
|
||||||
Pair() : BasePair(AutoStorage::getAutoMemoryPool()) { }
|
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) { }
|
: BasePair(AutoStorage::getAutoMemoryPool(), v1, v2) { }
|
||||||
Pair(const Pair& lp)
|
Pair(const Pair& lp)
|
||||||
: BasePair(AutoStorage::getAutoMemoryPool(), lp) { }
|
: BasePair(AutoStorage::getAutoMemoryPool(), lp) { }
|
||||||
|
Loading…
Reference in New Issue
Block a user