Strgen: Fix compiler warning in LangString constructor
This commit is contained in:
@@ -40,7 +40,7 @@ struct LangString {
|
|||||||
bool no_translate_mode = false;
|
bool no_translate_mode = false;
|
||||||
LangString *default_translation = nullptr;
|
LangString *default_translation = nullptr;
|
||||||
|
|
||||||
LangString(std::string name, std::string english, size_t index, int line);
|
LangString(std::string name, std::string english, int index, int line);
|
||||||
void ReplaceDefinition(std::string english, int line);
|
void ReplaceDefinition(std::string english, int line);
|
||||||
void FreeTranslation();
|
void FreeTranslation();
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ Case::Case(int caseidx, std::string string) :
|
|||||||
* @param index The index in the string table.
|
* @param index The index in the string table.
|
||||||
* @param line The line this string was found on.
|
* @param line The line this string was found on.
|
||||||
*/
|
*/
|
||||||
LangString::LangString(std::string name, std::string english, size_t index, int line) :
|
LangString::LangString(std::string name, std::string english, int index, int line) :
|
||||||
name(std::move(name)), english(std::move(english)), index(index), line(line)
|
name(std::move(name)), english(std::move(english)), index(index), line(line)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user