From 9c0c6bda2fc737675e76f2628084a60eee1e5e45 Mon Sep 17 00:00:00 2001 From: Bill Date: Wed, 18 Feb 2026 18:14:56 -0700 Subject: [PATCH] Fix MCPServer warning: remove class-scope json alias from SchemaToCppGenerator --- editor/src/SchemaToCppGenerator.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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;