Skip to content

Commit

Permalink
Resolve make_shared ambiguity on older boost versions.
Browse files Browse the repository at this point in the history
Refs #11056
  • Loading branch information
martyngigg committed Jan 7, 2016
1 parent 75e5938 commit bd9f36c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Framework/MDAlgorithms/src/LoadSQW2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ using Kernel::Logger;
using Kernel::DblMatrix;
using Kernel::Matrix;
using Kernel::V3D;
using boost::make_shared;

//------------------------------------------------------------------------------
// Constants
Expand Down Expand Up @@ -110,7 +109,6 @@ void LoadSQW2::init() {
using namespace API;
using Kernel::PropertyWithValue;
using Kernel::StringListValidator;
using boost::make_shared;

// Inputs
declareProperty(
Expand All @@ -124,7 +122,7 @@ void LoadSQW2::init() {
"MDEventWorkspace");
std::vector<std::string> allowed = {"Q_sample", "Q_lab", "HKL"};
declareProperty("Q3DFrames", allowed[0],
make_shared<StringListValidator>(allowed),
boost::make_shared<StringListValidator>(allowed),
"The required frame for the output workspace");

// Outputs
Expand Down

0 comments on commit bd9f36c

Please sign in to comment.