Skip to content

Commit

Permalink
used shared_ptr def constructor to make msvc happy, re #11467
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeMPouzols committed Apr 1, 2015
1 parent 58cabf6 commit 7df52ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Code/Mantid/Framework/Kernel/test/ComputeResourceInfoTest.h
Expand Up @@ -23,11 +23,11 @@ class ComputeResourceInfoTest : public CxxTest::TestSuite {
TS_ASSERT_THROWS_NOTHING(cri = fac->computeResInfos());
TS_ASSERT_EQUALS(cri.size(), 0);

fac = NULL;
TS_ASSERT_THROWS(fac = createCRInfoInMinimalFacility(
boost::shared_ptr<FacilityInfo> another;
TS_ASSERT_THROWS(another = createCRInfoInMinimalFacility(
"<computeResource fooAtt=\"barVal\"/>"),
std::runtime_error);
TS_ASSERT(!fac);
TS_ASSERT(!another);
}

void test_noURLTag() {
Expand Down

0 comments on commit 7df52ce

Please sign in to comment.