summaryrefslogtreecommitdiff
path: root/src/AtomicFile.cpp
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2020-06-19 19:46:47 +0200
committerJoel Rosdahl <joel@rosdahl.net>2020-06-23 21:44:45 +0200
commit52da8354807ca8a4fdc0dfa9db516302c7892e65 (patch)
treeea155c55532f2bad086e08b55fae25ce885a4c44 /src/AtomicFile.cpp
parent17f0036638fa7f92bd9c3169e35f510ada4f9281 (diff)
downloadccache-52da8354807ca8a4fdc0dfa9db516302c7892e65.tar.gz
Reduce the set of included headers
Diffstat (limited to 'src/AtomicFile.cpp')
-rw-r--r--src/AtomicFile.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/AtomicFile.cpp b/src/AtomicFile.cpp
index 0cb6cc21..ca998189 100644
--- a/src/AtomicFile.cpp
+++ b/src/AtomicFile.cpp
@@ -23,10 +23,6 @@
#include "third_party/fmt/core.h"
-#include <cassert>
-#include <cerrno>
-#include <unistd.h>
-
AtomicFile::AtomicFile(const std::string& path, Mode mode) : m_path(path)
{
auto fd_and_path = Util::create_temp_fd(path + ".tmp");