Skip to content
Snippets Groups Projects
Commit 7df52ce5 authored by Federico Montesino Pouzols's avatar Federico Montesino Pouzols
Browse files

used shared_ptr def constructor to make msvc happy, re #11467

parent 58cabf6c
No related branches found
No related tags found
No related merge requests found
......@@ -23,11 +23,11 @@ public:
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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment