mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 16:03:03 +01:00
Bettern constructor for AnyRef.
This commit is contained in:
parent
b9ee7a7d0f
commit
7d13f3fb12
@ -263,10 +263,7 @@ namespace Firebird
|
||||
class AnyRef : public T, public RefCounted
|
||||
{
|
||||
public:
|
||||
inline AnyRef() : T() {}
|
||||
inline AnyRef(const T& v) : T(v) {}
|
||||
inline explicit AnyRef(MemoryPool& p) : T(p) {}
|
||||
inline AnyRef(MemoryPool& p, const T& v) : T(p, v) {}
|
||||
using T::T;
|
||||
};
|
||||
} // namespace
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user