diff --git a/build/win32/platform_specific_code/juce_win32_PlatformUtils.cpp b/build/win32/platform_specific_code/juce_win32_PlatformUtils.cpp index 1a088e9648..37e15d9f4b 100644 --- a/build/win32/platform_specific_code/juce_win32_PlatformUtils.cpp +++ b/build/win32/platform_specific_code/juce_win32_PlatformUtils.cpp @@ -55,7 +55,7 @@ UNICODE_FUNCTION (RegSetValueExW, LONG, (HKEY, LPCWSTR, DWORD, DWORD, const BY UNICODE_FUNCTION (RegDeleteValueW, LONG, (HKEY, LPCWSTR)) UNICODE_FUNCTION (RegDeleteKeyW, LONG, (HKEY, LPCWSTR)) -void juce_initialiseUnicodeRegistryFunctions() +static void juce_initialiseUnicodeRegistryFunctions() throw() { static bool initialised = false; @@ -80,7 +80,7 @@ void juce_initialiseUnicodeRegistryFunctions() //============================================================================== static HKEY findKeyForPath (String name, const bool createForWriting, - String& valueName) + String& valueName) throw() { juce_initialiseUnicodeRegistryFunctions();