]> granicus.if.org Git - icinga2/commitdiff
Use std::promise instead of boost::promise
authorGunnar Beutner <gunnar.beutner@icinga.com>
Tue, 21 Nov 2017 11:28:09 +0000 (12:28 +0100)
committerGunnar Beutner <gunnar.beutner@icinga.com>
Thu, 30 Nov 2017 16:39:22 +0000 (17:39 +0100)
lib/config/configcompiler.hpp
lib/config/expression.hpp

index cd5395c8dd2df9213bf02b5d42faeacd2255e4df..ac9f38a5d93f4f9bdf725186f78f076ad10a587f 100644 (file)
@@ -26,6 +26,7 @@
 #include "base/registry.hpp"
 #include "base/initialize.hpp"
 #include "base/singleton.hpp"
+#include <future>
 #include <iostream>
 #include <stack>
 
@@ -127,7 +128,7 @@ public:
        static bool HasZoneConfigAuthority(const String& zoneName);
 
 private:
-       boost::promise<boost::shared_ptr<Expression> > m_Promise;
+       std::promise<boost::shared_ptr<Expression> > m_Promise;
 
        String m_Path;
        std::istream *m_Input;
index bc90ef4818622c3107285ee1be778bc2581935ad..59a16f6e1022f20112cdca3d0a67b3a2f6784d05 100644 (file)
@@ -28,7 +28,6 @@
 #include "base/exception.hpp"
 #include "base/scriptframe.hpp"
 #include "base/convert.hpp"
-#include <boost/thread/future.hpp>
 #include <map>
 
 namespace icinga