diff --git a/editor/src/SchemaToCppGenerator.h b/editor/src/SchemaToCppGenerator.h index 9952649..66ce019 100644 --- a/editor/src/SchemaToCppGenerator.h +++ b/editor/src/SchemaToCppGenerator.h @@ -7,8 +7,6 @@ #include #include -using json = nlohmann::json; - struct SchemaToCppOutput { bool success = false; std::string headerCode; @@ -18,7 +16,7 @@ struct SchemaToCppOutput { class SchemaToCppGenerator { public: - static SchemaToCppOutput generate(const json& schema, + static SchemaToCppOutput generate(const nlohmann::json& schema, const std::string& headerName, const std::string& targetName) { SchemaToCppOutput out;