mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 14: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:
@@ -27,7 +27,7 @@ class CTextParser {
|
||||
TToken<CRasterFont> GetFont(const char16_t* str, int len);
|
||||
|
||||
public:
|
||||
CTextParser(IObjectStore& store) : x0_store(store) {}
|
||||
explicit CTextParser(IObjectStore& store) : x0_store(store) {}
|
||||
void ParseText(CTextExecuteBuffer& out, const char16_t* str, int len,
|
||||
const std::vector<std::pair<CAssetId, CAssetId>>* txtrMap);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user