From ad23f9d0c417cd9de0e9ca34149177b3f56d4e0c Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Sun, 19 Jun 2016 09:19:16 -1000 Subject: [PATCH] Symbol pollution is bad for your health --- lib/ContainerRegistry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ContainerRegistry.cpp b/lib/ContainerRegistry.cpp index 656da6b..6505636 100644 --- a/lib/ContainerRegistry.cpp +++ b/lib/ContainerRegistry.cpp @@ -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; }