diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2021-11-08 21:24:46 +0100 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2021-11-08 21:57:47 +0100 |
commit | 02a2fbef0df2714f5fa598d82765ce463321ab56 (patch) | |
tree | 723bebf6405054d7805e8a8f8b83a24d2cab3d2a /src | |
parent | 4fd9548c79512621b3a5de602560b0cae0b97cad (diff) |
Storage: implement Stored using call_once
Diffstat (limited to 'src')
-rw-r--r-- | src/identity.h | 3 | ||||
-rw-r--r-- | src/storage.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/identity.h b/src/identity.h index 98db80a..e0d2803 100644 --- a/src/identity.h +++ b/src/identity.h @@ -3,8 +3,11 @@ #include <erebos/identity.h> #include "pubkey.h" +#include <future> + using std::function; using std::optional; +using std::shared_future; using std::string; using std::vector; diff --git a/src/storage.h b/src/storage.h index 7ed8cf6..0f7c3bf 100644 --- a/src/storage.h +++ b/src/storage.h @@ -12,7 +12,6 @@ namespace fs = std::filesystem; using std::function; using std::mutex; using std::optional; -using std::shared_future; using std::shared_ptr; using std::unique_ptr; using std::unordered_map; |