mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-06 02:36:18 +08:00
clang 20 warnings (#514)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user