mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 03:47:43 +00:00
CSaveWorld: Make constructor explicit
Prevents error-prone implicit constructions from occurring.
This commit is contained in:
@@ -31,7 +31,7 @@ private:
|
|||||||
std::vector<SScanState> x44_scans;
|
std::vector<SScanState> x44_scans;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CSaveWorld(CInputStream& in);
|
explicit CSaveWorld(CInputStream& in);
|
||||||
u32 GetAreaCount() const;
|
u32 GetAreaCount() const;
|
||||||
u32 GetCinematicCount() const;
|
u32 GetCinematicCount() const;
|
||||||
s32 GetCinematicIndex(const TEditorId& id) const;
|
s32 GetCinematicIndex(const TEditorId& id) const;
|
||||||
|
|||||||
Reference in New Issue
Block a user