Skip to content

Commit

Permalink
fix for gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
alifahrri committed Feb 10, 2024
1 parent 549918b commit 2248dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/nmtools/utility/ct_map.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ namespace nmtools::utility
constexpr auto KEY = decltype(key)::value;
return meta::template_reduce<SIZE>([&](auto init, auto index){
constexpr auto I = decltype(index)::value;
constexpr auto key_i = meta::remove_cvref_t<decltype(get<I>(keys_))>::value;
constexpr auto key_i = meta::remove_cvref_t<decltype(get<I>(this->keys_))>::value;
if constexpr (key_i == KEY) {
return meta::true_type{};
} else {
Expand Down

0 comments on commit 2248dc8

Please sign in to comment.