From: Gunnar Beutner Date: Tue, 10 Jul 2012 07:44:11 +0000 (+0200) Subject: Build fixes for the unit tests. X-Git-Tag: v0.0.1~277 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e807d379ca43c60094f746597e848a8d208cdf11;p=icinga2 Build fixes for the unit tests. --- diff --git a/test/base-dictionary.cpp b/test/base-dictionary.cpp index 2c56f8fa1..0af73d525 100644 --- a/test/base-dictionary.cpp +++ b/test/base-dictionary.cpp @@ -7,13 +7,13 @@ using namespace icinga; BOOST_AUTO_TEST_CASE(construct) { - Dictionary::Ptr dictionary = make_shared(); + Dictionary::Ptr dictionary = boost::make_shared(); BOOST_REQUIRE(dictionary); } BOOST_AUTO_TEST_CASE(getproperty) { - Dictionary::Ptr dictionary = make_shared(); + Dictionary::Ptr dictionary = boost::make_shared(); dictionary->Set("test1", 7); dictionary->Set("test2", "hello world"); @@ -31,8 +31,8 @@ BOOST_AUTO_TEST_CASE(getproperty) BOOST_AUTO_TEST_CASE(getproperty_dict) { - Dictionary::Ptr dictionary = make_shared(); - Dictionary::Ptr other = make_shared(); + Dictionary::Ptr dictionary = boost::make_shared(); + Dictionary::Ptr other = boost::make_shared(); dictionary->Set("test1", other); @@ -46,7 +46,7 @@ BOOST_AUTO_TEST_CASE(getproperty_dict) BOOST_AUTO_TEST_CASE(unnamed) { - Dictionary::Ptr dictionary = make_shared(); + Dictionary::Ptr dictionary = boost::make_shared(); dictionary->Add("test1"); dictionary->Add("test2"); dictionary->Add("test3");