From 5f20ffc4de7da9053d4d4c3a73f10d952133bcff Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Sat, 17 Sep 2022 23:49:37 +0300 Subject: [PATCH] Remove the manual comma. --- module/Library/JSON.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/module/Library/JSON.cpp b/module/Library/JSON.cpp index 37c0a368..bdefaef5 100644 --- a/module/Library/JSON.cpp +++ b/module/Library/JSON.cpp @@ -350,16 +350,12 @@ SQRESULT CtxJSON::SerializeAt(HSQUIRRELVM vm, SQInteger idx) // NOLINT(misc-no-r { return r; // Propagate the error } - // Include the separator manually - mOutput.push_back(','); } break; case OT_ARRAY: { if (SQRESULT r = SerializeArray(vm, idx); SQ_FAILED(r)) { return r; // Propagate the error } - // Include the separator manually - mOutput.push_back(','); } break; case OT_INSTANCE: { if (SQRESULT r = SerializeInstance(vm, idx); SQ_FAILED(r))