mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Use std::promise instead of boost::promise
This commit is contained in:
parent
7d7eaa8dd3
commit
300d424459
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user