changeset 6610:84666f479457

fix build on older compilers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 01 Mar 2026 21:14:23 +0100
parents e703805398d8
children 2c557f38484a
files OrthancFramework/Sources/Toolbox.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/Toolbox.cpp	Sun Mar 01 12:27:41 2026 +0100
+++ b/OrthancFramework/Sources/Toolbox.cpp	Sun Mar 01 21:14:23 2026 +0100
@@ -3020,7 +3020,7 @@
       else
       {
         if (result.empty() ||
-            result.back() != c)
+            result[result.size() - 1] != c)
         {
           result.push_back(c);
         }