diff options
author | fanquake <fanquake@gmail.com> | 2021-03-15 11:59:05 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-03-17 14:56:20 +0800 |
commit | ebc4ab721b0371c0ef217c0f5bd7d42613e951e6 (patch) | |
tree | c4f91deb60589d4d6e5c347d99ca7c611a01ee79 /src/util | |
parent | 57e980d13ca488031bde6ef197cf34d493d36796 (diff) |
refactor: post Optional<> removal cleanups
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/system.h | 2 | ||||
-rw-r--r-- | src/util/tokenpipe.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/util/system.h b/src/util/system.h index 4c965ce114..291f3f5541 100644 --- a/src/util/system.h +++ b/src/util/system.h @@ -19,7 +19,6 @@ #include <compat/assumptions.h> #include <fs.h> #include <logging.h> -#include <optional> #include <sync.h> #include <tinyformat.h> #include <util/settings.h> @@ -28,6 +27,7 @@ #include <exception> #include <map> +#include <optional> #include <set> #include <stdint.h> #include <string> diff --git a/src/util/tokenpipe.cpp b/src/util/tokenpipe.cpp index 79465dd430..4c091cd2e6 100644 --- a/src/util/tokenpipe.cpp +++ b/src/util/tokenpipe.cpp @@ -9,6 +9,7 @@ #include <errno.h> #include <fcntl.h> +#include <optional> #include <unistd.h> TokenPipeEnd TokenPipe::TakeReadEnd() |