From 32b86857cd11a78fe60d36f6aad05097e77ed8d8 Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Mon, 18 Jul 2016 08:13:09 +0200 Subject: [PATCH] [A/DHL] Fixed warning concerning the order of attr. Fixed warning: field '_range' will be initialized after field '_type' --- Applications/DataHolderLib/ColorLookupTable.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Applications/DataHolderLib/ColorLookupTable.cpp b/Applications/DataHolderLib/ColorLookupTable.cpp index 8508a24c35a..5fd5ad00cfe 100644 --- a/Applications/DataHolderLib/ColorLookupTable.cpp +++ b/Applications/DataHolderLib/ColorLookupTable.cpp @@ -13,10 +13,12 @@ namespace DataHolderLib { - ColorLookupTable::ColorLookupTable() -: _range(std::make_pair<double, double>(std::numeric_limits<double>::lowest(), std::numeric_limits<double>::max())), - _type(DataHolderLib::LUTType::LINEAR) + : _type(DataHolderLib::LUTType::LINEAR), + _range( + std::make_pair<double, double>(std::numeric_limits<double>::lowest(), + std::numeric_limits<double>::max())) + {} void ColorLookupTable::setTableRange(double min, double max) -- GitLab