0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-25 23:40:51 +08:00

Merge pull request #78 from Silveryard/develop

Fixed #72
This commit is contained in:
Sergey Yagovtsev 2017-11-06 21:28:50 +04:00 committed by GitHub
commit 84a86a7933
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,13 @@ namespace profiler {
template <class T, bool greater_than_size_t>
struct hash : public ::std::hash<T> {
#if defined(_MSC_VER) && _MSC_VER >= 1910
inline size_t operator () (const T& value) const {
return ::std::hash<T>::operator()(value);
}
#else
using ::std::hash<T>::operator();
#endif
};
template <class T>