mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 04:27:42 +00:00
General: Make use of explicit constructors where applicable
Gets rid of potential error prone implicitly constructing constructors.
This commit is contained in:
@@ -75,7 +75,7 @@ class CStateMachine {
|
||||
std::vector<CAiTrigger> x10_triggers;
|
||||
|
||||
public:
|
||||
CStateMachine(CInputStream& in);
|
||||
explicit CStateMachine(CInputStream& in);
|
||||
|
||||
s32 GetStateIndex(std::string_view state) const;
|
||||
const std::vector<CAiState>& GetStateVector() const { return x0_states; }
|
||||
|
||||
Reference in New Issue
Block a user