diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2022-08-15 21:15:53 +0200 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2022-08-15 22:13:32 +0200 |
commit | b6f80ea9f54b75eac68bb07d6b1079bc4b7db172 (patch) | |
tree | 17d2cc25e67b263b8a267fec7722205bd16750df /src/AtomicFile.cpp | |
parent | 6288b53c037176c6931a3232d983e65782e79e68 (diff) | |
download | ccache-b6f80ea9f54b75eac68bb07d6b1079bc4b7db172.tar.gz |
refactor: Use new util::Blob typedef
Diffstat (limited to 'src/AtomicFile.cpp')
-rw-r--r-- | src/AtomicFile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AtomicFile.cpp b/src/AtomicFile.cpp index f8595737..9585df81 100644 --- a/src/AtomicFile.cpp +++ b/src/AtomicFile.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2021 Joel Rosdahl and other contributors +// Copyright (C) 2019-2022 Joel Rosdahl and other contributors // // See doc/AUTHORS.adoc for a complete list of contributors. // @@ -50,7 +50,7 @@ AtomicFile::write(const std::string& data) } void -AtomicFile::write(const std::vector<uint8_t>& data) +AtomicFile::write(const util::Blob& data) { if (fwrite(data.data(), data.size(), 1, m_stream) != 1) { throw core::Error( |