mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-27 00:31:02 +08:00
Fixed #72 Where building x86 binaries with VS 2017 resulted in an internal compiler error
This commit is contained in:
parent
6db3cafdce
commit
23cf75fea4
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user