pass n by value

This commit is contained in:
orignal 2025-03-16 15:17:08 -04:00
parent d93a80cd2b
commit c0b5f2d2ef
2 changed files with 5 additions and 5 deletions

View file

@ -35,7 +35,7 @@ namespace i18n
return i2p::client::context.GetLanguage ()->GetString (arg);
}
std::string translate (const std::string& arg, const std::string& arg2, const int& n)
std::string translate (const std::string& arg, const std::string& arg2, const int n)
{
return i2p::client::context.GetLanguage ()->GetPlural (arg, arg2, n);
}