charset: pass const references
This commit is contained in:
@@ -28,11 +28,11 @@ namespace Charset {
|
||||
|
||||
std::locale internalLocale();
|
||||
|
||||
std::string toUtf8From(std::string s, const char *charset);
|
||||
std::string fromUtf8To(std::string s, const char *charset);
|
||||
std::string toUtf8From(const std::string &s, const char *charset);
|
||||
std::string fromUtf8To(const std::string &s, const char *charset);
|
||||
|
||||
std::string utf8ToLocale(std::string s);
|
||||
std::string localeToUtf8(std::string s);
|
||||
std::string utf8ToLocale(const std::string &s);
|
||||
std::string localeToUtf8(const std::string &s);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user