Skip to content

Commit

Permalink
fixed ci errors
Browse files Browse the repository at this point in the history
  • Loading branch information
fktn-k committed Jan 6, 2025
1 parent 84bdf33 commit 688433d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions include/fkYAML/detail/iterator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,10 +387,12 @@ FK_YAML_DETAIL_NAMESPACE_END
namespace std {

template <typename ValueType>
class tuple_size<::fkyaml::detail::iterator<ValueType>> : public integral_constant<size_t, 2> {};
// NOLINTNEXTLINE(cert-dcl58-cpp)
struct tuple_size<::fkyaml::detail::iterator<ValueType>> : public integral_constant<size_t, 2> {};

template <size_t N, typename ValueType>
class tuple_element<N, ::fkyaml::detail::iterator<ValueType>> {
// NOLINTNEXTLINE(cert-dcl58-cpp)
struct tuple_element<N, ::fkyaml::detail::iterator<ValueType>> {
public:
using type = decltype(get<N>(std::declval<::fkyaml::detail::iterator<ValueType>>()));
};
Expand Down
6 changes: 4 additions & 2 deletions single_include/fkYAML/node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10176,10 +10176,12 @@ FK_YAML_DETAIL_NAMESPACE_END
namespace std {

template <typename ValueType>
class tuple_size<::fkyaml::detail::iterator<ValueType>> : public integral_constant<size_t, 2> {};
// NOLINTNEXTLINE(cert-dcl58-cpp)
struct tuple_size<::fkyaml::detail::iterator<ValueType>> : public integral_constant<size_t, 2> {};

template <size_t N, typename ValueType>
class tuple_element<N, ::fkyaml::detail::iterator<ValueType>> {
// NOLINTNEXTLINE(cert-dcl58-cpp)
struct tuple_element<N, ::fkyaml::detail::iterator<ValueType>> {
public:
using type = decltype(get<N>(std::declval<::fkyaml::detail::iterator<ValueType>>()));
};
Expand Down

0 comments on commit 688433d

Please sign in to comment.