diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-02-12 13:43:32 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-03-14 14:10:52 +0100 |
commit | ef52ccf035fe0bcd78226891022171a28dd6fcbe (patch) | |
tree | 25ca43089e573e826fd8341a2a436a93076c26d8 /src/libutil/lru-cache.hh | |
parent | 86f3b94c8c28defd7402245d60af15ce429986ff (diff) |
experimental/optional -> optional
Diffstat (limited to 'src/libutil/lru-cache.hh')
-rw-r--r-- | src/libutil/lru-cache.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/lru-cache.hh b/src/libutil/lru-cache.hh index 9b8290e63..8b83f842c 100644 --- a/src/libutil/lru-cache.hh +++ b/src/libutil/lru-cache.hh @@ -2,7 +2,7 @@ #include <map> #include <list> -#include <experimental/optional> +#include <optional> namespace nix { @@ -64,7 +64,7 @@ public: /* Look up an item in the cache. If it exists, it becomes the most recently used item. */ - std::experimental::optional<Value> get(const Key & key) + std::optional<Value> get(const Key & key) { auto i = data.find(key); if (i == data.end()) return {}; |