From 5d7a6c5c4c7b41858b5fbb51b4c4c97005f3eed4 Mon Sep 17 00:00:00 2001 From: Dominic Reber Date: Wed, 13 Dec 2023 15:48:55 +0100 Subject: [PATCH] Fix isString() method in yaml_cpp_adapter --- include/valijson/adapters/yaml_cpp_adapter.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/valijson/adapters/yaml_cpp_adapter.hpp b/include/valijson/adapters/yaml_cpp_adapter.hpp index 362d471..9065fbc 100644 --- a/include/valijson/adapters/yaml_cpp_adapter.hpp +++ b/include/valijson/adapters/yaml_cpp_adapter.hpp @@ -433,7 +433,7 @@ class YamlCppValue bool isString() const { - return true; + return m_value.isScalar(); } private: