From b9501935e0c25cb571b7313de43e6551769155f0 Mon Sep 17 00:00:00 2001 From: "Ganyushin, Dmitry" Date: Fri, 8 Nov 2024 11:10:14 -0500 Subject: [PATCH] Added forgotten bu merge Rebin.cpp --- Framework/Algorithms/src/Rebin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Framework/Algorithms/src/Rebin.cpp b/Framework/Algorithms/src/Rebin.cpp index 590b9f398815..59f8b744f4b1 100644 --- a/Framework/Algorithms/src/Rebin.cpp +++ b/Framework/Algorithms/src/Rebin.cpp @@ -17,6 +17,7 @@ #include "MantidKernel/ArrayProperty.h" #include "MantidKernel/BoundedValidator.h" #include "MantidKernel/EnumeratedString.h" +#include "MantidKernel/EnumeratedStringProperty.h" #include "MantidKernel/ListValidator.h" #include "MantidKernel/RebinParamsValidator.h" #include "MantidKernel/VectorHelper.h" @@ -263,8 +264,7 @@ void Rebin::init() { "is linear. Power must be between 0 and 1."); declareProperty( - PropertyNames::BINMODE, binningModeNames[size_t(BinningMode::DEFAULT)], - std::make_shared(binningModeNames), + std::make_unique>(PropertyNames::BINMODE), "Optional. " "Binning behavior can be specified in the usual way through sign of binwidth and other properties ('Default'); " "or can be set to one of the allowed binning modes. "