diff --git a/modules/juce_core/native/juce_osx_ObjCHelpers.h b/modules/juce_core/native/juce_osx_ObjCHelpers.h index 449517e08f..6f64370592 100644 --- a/modules/juce_core/native/juce_osx_ObjCHelpers.h +++ b/modules/juce_core/native/juce_osx_ObjCHelpers.h @@ -135,7 +135,7 @@ struct ObjCClass private: static String getRandomisedName (const char* root) { - return root + String::toHexString (Random::getSystemRandom().nextInt64()); + return root + String::toHexString (juce::Random::getSystemRandom().nextInt64()); } JUCE_DECLARE_NON_COPYABLE (ObjCClass);