Skip to content

Commit

Permalink
Use explicit new rather than make_shared to fix test. Refs #5922
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Oct 9, 2012
1 parent 3f21881 commit 5cd83f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Code/Mantid/Framework/CurveFitting/test/VoigtTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ class VoigtTest : public CxxTest::TestSuite

VoigtTest()
{
m_domain = boost::make_shared<Mantid::API::FunctionDomain1DVector>(-5.5,3.5, g_domainSize);
using namespace Mantid::API;
m_domain = boost::shared_ptr<FunctionDomain1DVector>(new FunctionDomain1DVector(-5.5,3.5, g_domainSize));
}

void test_intialized_function_has_4_parameters_with_expected_names()
Expand Down

0 comments on commit 5cd83f0

Please sign in to comment.