Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/base
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-03-09 11:09:04 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-03-09 11:09:04 +1100
commit165bcbefee1c6c0f73553190ecffadcfdf40f16d (patch)
tree85b7cfb6ea89c04c80cc2d199a47e0be9a528670 /source/base
parent52a6f200ed1613ea888db9885f1a27c1c975a7d2 (diff)
minor code polish
Diffstat (limited to 'source/base')
-rw-r--r--source/base/StarAssets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/base/StarAssets.cpp b/source/base/StarAssets.cpp
index 0b21f5e..5628e4f 100644
--- a/source/base/StarAssets.cpp
+++ b/source/base/StarAssets.cpp
@@ -682,7 +682,7 @@ Json Assets::checkPatchArray(String const& path, AssetSourcePtr const& source, J
auto externalRef = external.value();
auto newResult = result;
for (auto const patch : patchData) {
- switch(patch.type()){
+ switch(patch.type()) {
case Json::Type::Array: // if the patch is an array, go down recursively until we get objects
try {
newResult = checkPatchArray(path, source, newResult, patch.toArray(), externalRef);