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:
@@ -16,7 +16,7 @@ class CStaticInterference {
|
||||
std::vector<CStaticInterferenceSource> m_sources;
|
||||
|
||||
public:
|
||||
CStaticInterference(int sourceCount);
|
||||
explicit CStaticInterference(int sourceCount);
|
||||
void RemoveSource(TUniqueId id);
|
||||
void Update(CStateManager&, float dt);
|
||||
float GetTotalInterference() const;
|
||||
|
||||
Reference in New Issue
Block a user