summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2021-11-08 21:24:46 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2021-11-08 21:57:47 +0100
commit02a2fbef0df2714f5fa598d82765ce463321ab56 (patch)
tree723bebf6405054d7805e8a8f8b83a24d2cab3d2a /src
parent4fd9548c79512621b3a5de602560b0cae0b97cad (diff)
Storage: implement Stored using call_once
Diffstat (limited to 'src')
-rw-r--r--src/identity.h3
-rw-r--r--src/storage.h1
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;