summaryrefslogtreecommitdiffhomepage
path: root/compat/macros.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-10-05 15:59:58 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-10-05 14:35:44 +0000
commit9cca4ffd9987352e43119d9c4dea0ce84c2c448f (patch)
tree250e8092af1738ce51c268e2866dd75d67e879df /compat/macros.hpp
parentf0216a3c53d43918295f1bd81975b391f4e5ed3b (diff)
silly busywork
Diffstat (limited to 'compat/macros.hpp')
-rw-r--r--compat/macros.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/macros.hpp b/compat/macros.hpp
index 3c93ee13..42d5d649 100644
--- a/compat/macros.hpp
+++ b/compat/macros.hpp
@@ -85,7 +85,7 @@ using to_const_lvalue_reference_t = remove_cvref_t<t> const&;
template<typename t>
using cv_qualified = std::conditional_t<std::is_fundamental_v<std::decay_t<t>>,
std::decay_t<t>,
- std::add_lvalue_reference_t<std::add_const_t<std::remove_reference_t<t>>>>;
+ std::add_lvalue_reference_t<std::add_const_t<remove_cvref_t<t>>>>;
template<bool>
[[deprecated]] constexpr cc_forceinline void static_warn() {}