From 762494924e8025fdfcdbd3ea3ba05c081e4c0eac Mon Sep 17 00:00:00 2001 From: Peter Barnes Date: Fri, 7 Jan 2022 22:25:39 +0000 Subject: [PATCH] core: avoid GCC compiler error --- src/core/model/simple-ref-count.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/model/simple-ref-count.h b/src/core/model/simple-ref-count.h index a9d15fb98..c3533f91d 100644 --- a/src/core/model/simple-ref-count.h +++ b/src/core/model/simple-ref-count.h @@ -80,7 +80,7 @@ public: * Copy constructor * \param [in] o The object to copy into this one. */ - SimpleRefCount ([[maybe_unused]] const SimpleRefCount & o) + SimpleRefCount (const SimpleRefCount & o [[maybe_unused]]) : m_count (1) { }