]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Make Result::write_embedded_file_entry static
authorJoel Rosdahl <joel@rosdahl.net>
Tue, 7 Jul 2020 14:35:54 +0000 (16:35 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 7 Jul 2020 17:47:51 +0000 (19:47 +0200)
src/Result.hpp

index ff80174b17cf134733cf5571014b19694a21025f..ec495aa18b578f75513902b2de0ff17f94e365b5 100644 (file)
@@ -104,9 +104,9 @@ private:
   std::vector<std::pair<FileType, std::string>> m_entries_to_write;
 
   void do_finalize();
-  void write_embedded_file_entry(CacheEntryWriter& writer,
-                                 const std::string& path,
-                                 uint64_t file_size);
+  static void write_embedded_file_entry(CacheEntryWriter& writer,
+                                        const std::string& path,
+                                        uint64_t file_size);
   void write_raw_file_entry(const std::string& path, uint32_t entry_number);
 };