feat(reflect-cpp): Switched from glaze -> reflect cpp
A bug was discovered in glaze which prevented valid toml output. We have switched to toml++ and reflect-cpp. The interface has remained the same so this should not break any code
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#ifndef RFL_PARSING_SCHEMA_DEFINITION_HPP_
|
||||
#define RFL_PARSING_SCHEMA_DEFINITION_HPP_
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
#include "Type.hpp"
|
||||
|
||||
namespace rfl::parsing::schema {
|
||||
|
||||
struct Definition {
|
||||
/// Contains the root element of the schema definition.
|
||||
Type root_;
|
||||
|
||||
/// Contains the definitions to be referenced by Type::Reference.
|
||||
std::map<std::string, Type> definitions_;
|
||||
};
|
||||
|
||||
} // namespace rfl::parsing::schema
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user