From 07c441d032b74ded7b2a0a96f4a7eb5c45570ce6 Mon Sep 17 00:00:00 2001
From: Soeren Peters <peters@irmb.tu-bs.de>
Date: Fri, 2 Oct 2020 10:40:04 +0200
Subject: [PATCH] remove 'register' storage class specifier, which is
 deprecated and incompatible with C++17

---
 src/basics/basics/utilities/UbSystem.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/basics/basics/utilities/UbSystem.h b/src/basics/basics/utilities/UbSystem.h
index dcfa4fc6d..e5f4bcfd9 100644
--- a/src/basics/basics/utilities/UbSystem.h
+++ b/src/basics/basics/utilities/UbSystem.h
@@ -444,8 +444,8 @@ namespace UbSystem
    //#define ByteSwap5(x) ByteSwap((unsigned char *) &x,sizeof(x))
    inline void swapByteOrder(unsigned char* toSwap, int length)
    {
-      register int i = 0;
-      register int j = length-1;
+      int i = 0;
+      int j = length-1;
       while(i<j)
       {
          std::swap(toSwap[i], toSwap[j]);
-- 
GitLab