1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

vcmi: modernize rest of lib

This commit is contained in:
Konstantin
2023-03-14 00:26:44 +03:00
parent 17520b70ce
commit 4c4498b22a
70 changed files with 1278 additions and 1463 deletions

View File

@@ -16,7 +16,7 @@
VCMI_LIB_NAMESPACE_BEGIN
std::string LogicalExpressionDetail::getTextForOperator(std::string operation)
std::string LogicalExpressionDetail::getTextForOperator(const std::string & operation)
{
//placed in cpp mostly to avoid unnecessary includes in header
return VLC->generaltexth->translate("vcmi.logicalExpressions." + operation);