Version 0.0.1 fixing issues.
This commit is contained in:
parent
7e8c45e88e
commit
cc12b4765c
1 changed files with 55 additions and 42 deletions
|
|
@ -7,6 +7,7 @@
|
|||
#include <memory>
|
||||
#include <unordered_map>
|
||||
#include <syncstream>
|
||||
#include <atomic>
|
||||
|
||||
class AppInfo
|
||||
{
|
||||
|
|
@ -42,7 +43,7 @@ private:
|
|||
string_map after;
|
||||
bool create_log = false;
|
||||
std::unordered_map<std::shared_ptr<AppInfo>, State> parents;
|
||||
State state = State::initial;
|
||||
std::atomic<State> state{State::initial};
|
||||
RunMode mode = RunMode::script;
|
||||
public:
|
||||
void setProgramName(std::string name);
|
||||
|
|
|
|||
Loading…
Reference in a new issue