From 7d13f3fb12ecff99b2a4cc505942c7d60b3f1026 Mon Sep 17 00:00:00 2001 From: Adriano dos Santos Fernandes Date: Sun, 8 Dec 2024 09:17:45 -0300 Subject: [PATCH] Bettern constructor for AnyRef. --- src/common/classes/RefCounted.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/common/classes/RefCounted.h b/src/common/classes/RefCounted.h index 186c62df54..2a2ce5baca 100644 --- a/src/common/classes/RefCounted.h +++ b/src/common/classes/RefCounted.h @@ -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