core: avoid GCC compiler error

This commit is contained in:
Peter Barnes
2022-01-07 22:25:39 +00:00
parent 247a597f43
commit 762494924e

View File

@@ -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)
{
}