Skip to content

Commit

Permalink
fix: build error on clang
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Dec 24, 2024
1 parent 70a82f0 commit cbbed9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/common/value.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -364,13 +364,13 @@ class basic_value
template <typename... elem_ts>
explicit operator std::tuple<elem_ts...>() const
{
return as_array().as_tuple<elem_ts...>();
return as_array().template as_tuple<elem_ts...>();
}

template <typename elem1_t, typename elem2_t>
explicit operator std::pair<elem1_t, elem2_t>() const
{
return as_array().as_pair<elem1_t, elem2_t>();
return as_array().template as_pair<elem1_t, elem2_t>();
}

private:
Expand Down

0 comments on commit cbbed9c

Please sign in to comment.