diff --git a/src/game/engine/fast_critical_section.cpp b/src/game/engine/fast_critical_section.cpp index 797286f..bb323b4 100644 --- a/src/game/engine/fast_critical_section.cpp +++ b/src/game/engine/fast_critical_section.cpp @@ -5,7 +5,7 @@ namespace game::engine { - FastCriticalSectionScopeRead::FastCriticalSectionScopeRead(native::FastCriticalSection* cs) + fast_critical_section_scope_read::fast_critical_section_scope_read(native::FastCriticalSection* cs) { this->cs_ = cs; if (this->cs_) @@ -14,7 +14,7 @@ namespace game::engine } } - FastCriticalSectionScopeRead::~FastCriticalSectionScopeRead() + fast_critical_section_scope_read::~fast_critical_section_scope_read() { if (this->cs_) { @@ -22,7 +22,7 @@ namespace game::engine } } - FastCriticalSectionScopeWrite::FastCriticalSectionScopeWrite(native::FastCriticalSection* cs) + fast_critical_section_scope_write::fast_critical_section_scope_write(native::FastCriticalSection* cs) { this->cs_ = cs; if (this->cs_) @@ -31,7 +31,7 @@ namespace game::engine } } - FastCriticalSectionScopeWrite::~FastCriticalSectionScopeWrite() + fast_critical_section_scope_write::~fast_critical_section_scope_write() { if (this->cs_) { diff --git a/src/game/engine/fast_critical_section.hpp b/src/game/engine/fast_critical_section.hpp index 378b1f5..b8b2334 100644 --- a/src/game/engine/fast_critical_section.hpp +++ b/src/game/engine/fast_critical_section.hpp @@ -2,21 +2,21 @@ namespace game::engine { - class FastCriticalSectionScopeRead + class fast_critical_section_scope_read { public: - FastCriticalSectionScopeRead(native::FastCriticalSection* cs); - ~FastCriticalSectionScopeRead(); + fast_critical_section_scope_read(native::FastCriticalSection* cs); + ~fast_critical_section_scope_read(); private: native::FastCriticalSection* cs_; }; - class FastCriticalSectionScopeWrite + class fast_critical_section_scope_write { public: - FastCriticalSectionScopeWrite(native::FastCriticalSection* cs); - ~FastCriticalSectionScopeWrite(); + fast_critical_section_scope_write(native::FastCriticalSection* cs); + ~fast_critical_section_scope_write(); private: native::FastCriticalSection* cs_;