mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 05:47:43 +00:00
General: Make use of explicit constructors where applicable
Gets rid of potential error prone implicitly constructing constructors.
This commit is contained in:
@@ -13,7 +13,7 @@ class CProjectileInfo {
|
||||
CDamageInfo xc_damageInfo;
|
||||
|
||||
public:
|
||||
CProjectileInfo(CInputStream&);
|
||||
explicit CProjectileInfo(CInputStream&);
|
||||
CProjectileInfo(CAssetId, const CDamageInfo&);
|
||||
|
||||
float GetProjectileSpeed() const;
|
||||
|
||||
Reference in New Issue
Block a user