mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 00: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:
@@ -41,7 +41,7 @@ public:
|
||||
TUniqueId x0_id;
|
||||
|
||||
public:
|
||||
CObjectTracker(TUniqueId id) : x0_id(id) {}
|
||||
explicit CObjectTracker(TUniqueId id) : x0_id(id) {}
|
||||
|
||||
TUniqueId GetObjectId() const { return x0_id; }
|
||||
bool operator==(const CObjectTracker& other) const { return x0_id == other.x0_id; }
|
||||
|
||||
Reference in New Issue
Block a user