From a2000eb8a8247823f5344a3e6903710d01608f25 Mon Sep 17 00:00:00 2001 From: Ralph Wessel Date: Tue, 20 Aug 2024 08:43:18 +0100 Subject: [PATCH] Misnamed variable --- SpeckleLib/Speckle/Serialise/JSBase/JSBaseTransport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpeckleLib/Speckle/Serialise/JSBase/JSBaseTransport.cpp b/SpeckleLib/Speckle/Serialise/JSBase/JSBaseTransport.cpp index e89dc7c..f02cbab 100644 --- a/SpeckleLib/Speckle/Serialise/JSBase/JSBaseTransport.cpp +++ b/SpeckleLib/Speckle/Serialise/JSBase/JSBaseTransport.cpp @@ -218,7 +218,7 @@ namespace { //Decomose an object for (auto& item : object->GetItemTable()) result.push_back({item.value->operator JS::Base*(), String{*item.key}}); - } else if (auto array = dynamic_cast(&source); object != nullptr) { + } else if (auto array = dynamic_cast(&source); array != nullptr) { //Decomose an array for (auto& item : array->GetItemArray()) result.push_back({item, std::nullopt});