]> granicus.if.org Git - icinga2/commitdiff
Build fixes for the unit tests.
authorGunnar Beutner <gunnar.beutner@netways.de>
Tue, 10 Jul 2012 07:44:11 +0000 (09:44 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Tue, 10 Jul 2012 07:44:11 +0000 (09:44 +0200)
test/base-dictionary.cpp

index 2c56f8fa1d1e0c5cd19798fb747e6508c61945b6..0af73d52511d658ac8703d1f6fec4a442222c50f 100644 (file)
@@ -7,13 +7,13 @@ using namespace icinga;
 
 BOOST_AUTO_TEST_CASE(construct)
 {
-       Dictionary::Ptr dictionary = make_shared<Dictionary>();
+       Dictionary::Ptr dictionary = boost::make_shared<Dictionary>();
        BOOST_REQUIRE(dictionary);
 }
 
 BOOST_AUTO_TEST_CASE(getproperty)
 {
-       Dictionary::Ptr dictionary = make_shared<Dictionary>();
+       Dictionary::Ptr dictionary = boost::make_shared<Dictionary>();
        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>();
-       Dictionary::Ptr other = make_shared<Dictionary>();
+       Dictionary::Ptr dictionary = boost::make_shared<Dictionary>();
+       Dictionary::Ptr other = boost::make_shared<Dictionary>();
 
        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>();
+       Dictionary::Ptr dictionary = boost::make_shared<Dictionary>();
        dictionary->Add("test1");
        dictionary->Add("test2");
        dictionary->Add("test3");