diff --git a/modules/juce_core/misc/juce_Uuid.cpp b/modules/juce_core/misc/juce_Uuid.cpp index b4a830cf29..5bb56d23aa 100644 --- a/modules/juce_core/misc/juce_Uuid.cpp +++ b/modules/juce_core/misc/juce_Uuid.cpp @@ -145,13 +145,3 @@ uint64 Uuid::hash() const noexcept } } // namespace juce - -#if ! DOXYGEN -namespace std -{ - template <> struct hash - { - size_t operator() (const juce::Uuid& u) const noexcept { return (size_t) u.hash(); } - }; -} -#endif diff --git a/modules/juce_core/misc/juce_Uuid.h b/modules/juce_core/misc/juce_Uuid.h index f15d6e8724..660c96fa13 100644 --- a/modules/juce_core/misc/juce_Uuid.h +++ b/modules/juce_core/misc/juce_Uuid.h @@ -135,3 +135,13 @@ private: }; } // namespace juce + +#if ! DOXYGEN +namespace std +{ + template <> struct hash + { + size_t operator() (const juce::Uuid& u) const noexcept { return (size_t) u.hash(); } + }; +} +#endif