diff --git a/liblog/event_tag_map.cpp b/liblog/event_tag_map.cpp index 115542233..c53ea2c1c 100644 --- a/liblog/event_tag_map.cpp +++ b/liblog/event_tag_map.cpp @@ -38,10 +38,9 @@ typedef std::experimental::string_view MapString; typedef std::pair TagFmt; -template <> struct _LIBCPP_TYPE_VIS_ONLY std::hash +template <> struct std::hash : public std::unary_function { - _LIBCPP_INLINE_VISIBILITY - size_t operator()(const TagFmt& __t) const _NOEXCEPT { + size_t operator()(const TagFmt& __t) const noexcept { // Tag is typically unique. Will cost us an extra 100ns for the // unordered_map lookup if we instead did a hash that combined // both of tag and fmt members, e.g.: