mirror of
https://github.com/AxioDL/amuse.git
synced 2025-05-14 03:11:22 +00:00
Merge branch 'master' of https://github.com/AxioDL/amuse
This commit is contained in:
commit
7666b51c50
@ -35,7 +35,7 @@ static void *memmem(const void *haystack, size_t hlen, const void *needle, size_
|
||||
return NULL;
|
||||
}
|
||||
|
||||
amuse::SystemString StrToSys(const std::string& str)
|
||||
static amuse::SystemString StrToSys(const std::string& str)
|
||||
{
|
||||
std::wstring ret;
|
||||
int len = MultiByteToWideChar(CP_UTF8, 0, str.c_str(), str.size(), nullptr, 0);
|
||||
@ -45,7 +45,7 @@ amuse::SystemString StrToSys(const std::string& str)
|
||||
}
|
||||
|
||||
#else
|
||||
amuse::SystemString StrToSys(const std::string& str)
|
||||
static amuse::SystemString StrToSys(const std::string& str)
|
||||
{
|
||||
return str;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user