clang 20 warnings (#514)

This commit is contained in:
KostinPavel
2025-10-08 20:55:28 +02:00
committed by GitHub
parent ff9cc716a1
commit afc0255579
4 changed files with 62 additions and 77 deletions
+3 -4
View File
@@ -3,7 +3,6 @@
#include <map>
#include <string>
#include <variant>
#include "../../Flatten.hpp"
#include "../../Literal.hpp"
@@ -15,9 +14,9 @@ namespace rfl::json::schema {
template <class T>
struct JSONSchema {
Rename<"$schema", Literal<"https://json-schema.org/draft/2020-12/schema">>
schema;
Flatten<T> root;
std::map<std::string, Type> definitions;
schema{};
Flatten<T> root{};
std::map<std::string, Type> definitions{};
};
} // namespace rfl::json::schema