From 2d1e0934ceeb24cb2267cfdf645bb52a1afc9ef3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Mon, 12 Oct 2020 21:17:18 +0200 Subject: [PATCH] Silenced clang indentation warning --- src/common/tifffile.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/common/tifffile.h b/src/common/tifffile.h index c2634ea3..ca21a6a9 100644 --- a/src/common/tifffile.h +++ b/src/common/tifffile.h @@ -33,18 +33,18 @@ public: return false; #if Q_BYTE_ORDER == Q_BIG_ENDIAN - if (_be) - val = data; - else { - for (size_t i = 0; i < sizeof(T); i++) - *((char *)&val + i) = *((char*)&data + sizeof(T) - 1 - i); - } + if (_be) + val = data; + else { + for (size_t i = 0; i < sizeof(T); i++) + *((char *)&val + i) = *((char*)&data + sizeof(T) - 1 - i); + } #else - if (_be) { - for (size_t i = 0; i < sizeof(T); i++) - *((char *)&val + i) = *((char*)&data + sizeof(T) - 1 - i); - } else - val = data; + if (_be) { + for (size_t i = 0; i < sizeof(T); i++) + *((char *)&val + i) = *((char*)&data + sizeof(T) - 1 - i); + } else + val = data; #endif return true;