summaryrefslogtreecommitdiff
path: root/src/s/s_StateMethod.cpp
diff options
context:
space:
mode:
authorElijah Thomas <42302100+elijah-thomas774@users.noreply.github.com>2024-10-16 15:36:02 -0400
committerGitHub <noreply@github.com>2024-10-16 15:36:02 -0400
commit26af4db82da23364961ebb440efba88846240731 (patch)
tree9cfe6a427cfe59c13c64928ccef6ba3c5ccfec21 /src/s/s_StateMethod.cpp
parent4543ec129ec02649b24ae0e20d8325a5f066c9b1 (diff)
update from dtk-template - clangd :) (#66)
* update from dtk-template and start work towards using clangd * include <a> -> "a" * Update build.yml * remove/add non-trivial class in union warning
Diffstat (limited to 'src/s/s_StateMethod.cpp')
-rw-r--r--src/s/s_StateMethod.cpp27
1 files changed, 10 insertions, 17 deletions
diff --git a/src/s/s_StateMethod.cpp b/src/s/s_StateMethod.cpp
index 7c59854f..96655a45 100644
--- a/src/s/s_StateMethod.cpp
+++ b/src/s/s_StateMethod.cpp
@@ -1,24 +1,17 @@
-#include <common.h>
-#include <s/s_StateInterfaces.hpp>
-#include <s/s_StateMethod.hpp>
-#include <s/s_StateID.hpp>
+#include "s/s_StateMethod.hpp"
+
+#include "common.h"
+#include "s/s_StateID.hpp"
+#include "s/s_StateInterfaces.hpp"
+
// Note: Ported from https://github.com/NSMBW-Community/NSMBW-Decomp/tree/master/include/dol/sLib
// See include/s/README.txt for changes made
-sStateMethod_c::sStateMethod_c(sStateIDChkIf_c &checker, sStateFctIf_c &factory, const sStateIDIf_c &initialState) :
- mpStateChk(checker),
- mpStateFct(factory),
- mInitFinalizeLock(false),
- mExecutionLock(false),
- mIsValid(false),
- mStateChanged(false),
- mRefreshStateMethod(false),
- mpNewStateID(&initialState),
- mpOldStateID(&sStateID::null),
- mpStateID(&initialState),
- mpState(nullptr) {
-}
+sStateMethod_c::sStateMethod_c(sStateIDChkIf_c &checker, sStateFctIf_c &factory, const sStateIDIf_c &initialState)
+ : mpStateChk(checker), mpStateFct(factory), mInitFinalizeLock(false), mExecutionLock(false), mIsValid(false),
+ mStateChanged(false), mRefreshStateMethod(false), mpNewStateID(&initialState), mpOldStateID(&sStateID::null),
+ mpStateID(&initialState), mpState(nullptr) {}
sStateMethod_c::~sStateMethod_c() {}