From 5b4257979aaf8dd18a9e90293ee118461e2f5a09 Mon Sep 17 00:00:00 2001 From: Carl Philipp Klemm <philipp@uvos.xyz> Date: Mon, 5 Feb 2024 16:23:05 +0100 Subject: [PATCH] remove a gnuism to allow compieling wih msvc --- model.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/model.cpp b/model.cpp index 4fdbc68..62eab45 100644 --- a/model.cpp +++ b/model.cpp @@ -108,7 +108,16 @@ Componant *Model::processBracket(std::string& str, size_t paramSweepCount, bool case '}': Log(Log::WARN)<<getModelStr()<<" stray "<<nodeStr[i]<<" in model string"; break; - case '0' ... '9': + case '0': + case '1': + case '2': + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': { size_t j = nodeStr[i]-48; if(_bracketComponants.size() > j) -- GitLab