Inline functions had better have internal linkages.

This also removes useless inline specifiers.
This commit is contained in:
Tsuda Kageyu
2016-02-15 20:53:27 +09:00
parent 455e827e1e
commit 46eacaeba4
12 changed files with 263 additions and 253 deletions

View File

@ -50,7 +50,7 @@ namespace
bool unicodeStrings = true;
bool stringManagementEnabled = true;
inline char *stringToCharArray(const String &s)
char *stringToCharArray(const String &s)
{
const std::string str = s.to8Bit(unicodeStrings);
@ -65,7 +65,7 @@ namespace
#endif
}
inline String charArrayToString(const char *s)
String charArrayToString(const char *s)
{
return String(s, unicodeStrings ? String::UTF8 : String::Latin1);
}