aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__compare/synth_three_way.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/__compare/synth_three_way.h')
-rw-r--r--libcxx/include/__compare/synth_three_way.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/__compare/synth_three_way.h b/libcxx/include/__compare/synth_three_way.h
index fa8cbda79ba2..7d338987e0d4 100644
--- a/libcxx/include/__compare/synth_three_way.h
+++ b/libcxx/include/__compare/synth_three_way.h
@@ -42,7 +42,7 @@ _LIBCPP_HIDE_FROM_ABI inline constexpr auto __synth_three_way =
};
template <class _Tp, class _Up = _Tp>
-using __synth_three_way_result = decltype(std::__synth_three_way(declval<_Tp&>(), declval<_Up&>()));
+using __synth_three_way_result = decltype(std::__synth_three_way(std::declval<_Tp&>(), std::declval<_Up&>()));
#endif // _LIBCPP_STD_VER > 17