diff --git a/easy_profiler_core/include/easy/reader.h b/easy_profiler_core/include/easy/reader.h index 8773aa2..47e39aa 100644 --- a/easy_profiler_core/include/easy/reader.h +++ b/easy_profiler_core/include/easy/reader.h @@ -62,7 +62,13 @@ namespace profiler { template struct hash : public ::std::hash { +#if defined(_MSC_VER) && _MSC_VER >= 1910 + inline size_t operator () (const T& value) const { + return ::std::hash::operator()(value); + } +#else using ::std::hash::operator(); +#endif }; template