From 8e64f794f08cb3e4f930df5bb17c3a7061516cca Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Thu, 2 May 2024 09:05:36 +0200 Subject: Progressively applying the coding rules --- src/deep.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/deep.h') diff --git a/src/deep.h b/src/deep.h index 6f4e64d..784952c 100644 --- a/src/deep.h +++ b/src/deep.h @@ -38,14 +38,14 @@ static constexpr UniqueKey kDeepVersion{ 0x91171AEC6641E9DBull, "kDeepVersion" } // a deep userdata is a full userdata that stores a single pointer to the actual DeepPrelude-derived object struct DeepPrelude { - UniqueKey const m_magic{ kDeepVersion }; + UniqueKey const magic{ kDeepVersion }; // when stored in a keeper state, the full userdata doesn't have a metatable, so we need direct access to the factory - class DeepFactory& m_factory; + class DeepFactory& factory; // data is destroyed when refcount is 0 - std::atomic m_refcount{ 0 }; + std::atomic refcount{ 0 }; DeepPrelude(DeepFactory& factory_) - : m_factory{ factory_ } + : factory{ factory_ } { } }; -- cgit v1.2.3-55-g6feb