This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
Moved the UUID hashing template to the header file
tags/2021-05-28
Tom Poole
6 years ago
parent
d81ce3ce03
commit
a968c9dd6b
2 changed files
with
10 additions
and
10 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-10
modules/juce_core/misc/juce_Uuid.cpp
+10
-0
modules/juce_core/misc/juce_Uuid.h
+ 0
- 10
modules/juce_core/misc/juce_Uuid.cpp
View File
@@ -145,13 +145,3 @@ uint64 Uuid::hash() const noexcept
}
} // namespace juce
#if ! DOXYGEN
namespace std
{
template <> struct hash<juce::Uuid>
{
size_t operator() (const juce::Uuid& u) const noexcept { return (size_t) u.hash(); }
};
}
#endif
+ 10
- 0
modules/juce_core/misc/juce_Uuid.h
View File
@@ -135,3 +135,13 @@ private:
};
} // namespace juce
#if ! DOXYGEN
namespace std
{
template <> struct hash<juce::Uuid>
{
size_t operator() (const juce::Uuid& u) const noexcept { return (size_t) u.hash(); }
};
}
#endif
Write
Preview
Loading…
Cancel
Save