8
0
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:
Adriano dos Santos Fernandes 2024-12-08 09:17:45 -03:00
parent b9ee7a7d0f
commit 7d13f3fb12

View File

@ -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