From 70b57ea7091eebfec15ec7117254313fb8b35736 Mon Sep 17 00:00:00 2001 From: Dmitry Mikushin Date: Sun, 20 Oct 2024 11:57:16 +0200 Subject: [PATCH] Fix endless recursion in std::string_view writer: the write() should use std::string, not std::string_view again (#219) --- include/rfl/parsing/Parser_string_view.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rfl/parsing/Parser_string_view.hpp b/include/rfl/parsing/Parser_string_view.hpp index 45ae1e5e..3df17ce2 100644 --- a/include/rfl/parsing/Parser_string_view.hpp +++ b/include/rfl/parsing/Parser_string_view.hpp @@ -31,7 +31,7 @@ struct Parser { template static void write(const W& _w, const std::string_view& _str, const P& _p) noexcept { - Parser::write(_w, std::string(_str), + Parser::write(_w, std::string(_str), _p); }