mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +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/registry.hpp"
|
||||||
#include "base/initialize.hpp"
|
#include "base/initialize.hpp"
|
||||||
#include "base/singleton.hpp"
|
#include "base/singleton.hpp"
|
||||||
|
#include <future>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <stack>
|
#include <stack>
|
||||||
|
|
||||||
@ -127,7 +128,7 @@ public:
|
|||||||
static bool HasZoneConfigAuthority(const String& zoneName);
|
static bool HasZoneConfigAuthority(const String& zoneName);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
boost::promise<boost::shared_ptr<Expression> > m_Promise;
|
std::promise<boost::shared_ptr<Expression> > m_Promise;
|
||||||
|
|
||||||
String m_Path;
|
String m_Path;
|
||||||
std::istream *m_Input;
|
std::istream *m_Input;
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
#include "base/exception.hpp"
|
#include "base/exception.hpp"
|
||||||
#include "base/scriptframe.hpp"
|
#include "base/scriptframe.hpp"
|
||||||
#include "base/convert.hpp"
|
#include "base/convert.hpp"
|
||||||
#include <boost/thread/future.hpp>
|
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
namespace icinga
|
namespace icinga
|
||||||
|
Loading…
x
Reference in New Issue
Block a user