mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 16:43: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
|
class AnyRef : public T, public RefCounted
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
inline AnyRef() : T() {}
|
using T::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) {}
|
|
||||||
};
|
};
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user