Skip to content

Commit

Permalink
Fix for YAML 0.8.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
SolidWallOfCode committed Aug 28, 2023
1 parent e426c7c commit 0fd357f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin/include/txn_box/yaml_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ swoc::Rv<YAML::Node> yaml_load(swoc::file::path const &path);

namespace YAML
{
# if !defined(YAML_H_62B23520_7C8E_11DE_8A39_0800200C9A66)
// Need these to pass views in to node indexing.
template <> struct convert<std::string_view> {
static Node
Expand All @@ -123,6 +124,7 @@ template <> struct convert<std::string_view> {
return true;
}
};
#endif

template <> struct convert<swoc::TextView> {
static Node
Expand Down

0 comments on commit 0fd357f

Please sign in to comment.