]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
refactor: Use std::chrono_literals
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 26 Oct 2025 21:05:41 +0000 (22:05 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 3 Nov 2025 20:03:29 +0000 (21:03 +0100)
src/ccache/ccache.cpp
src/ccache/inodecache.cpp
src/ccache/storage/local/localstorage.cpp
src/ccache/util/lockfile.cpp
unittest/test_inodecache.cpp
unittest/test_util_string.cpp

index bc5b0b6da04ffa6a451c0a138901bf6c4580c50c..c8cc67752e662f851254e2d68888563e1a46d977 100644 (file)
@@ -94,7 +94,7 @@
 
 namespace fs = util::filesystem;
 
-using namespace std::literals::chrono_literals;
+using namespace std::chrono_literals;
 
 using core::Statistic;
 using util::DirEntry;
index 82452c7d9650ae91ef826fb708da2f996ae744bf..ed9c7f98e2220ad42db1e68269f41ee380be0971 100644 (file)
@@ -54,7 +54,7 @@
 
 namespace fs = util::filesystem;
 
-using namespace std::literals::chrono_literals;
+using namespace std::chrono_literals;
 
 // The inode cache resides on a file that is mapped into shared memory by
 // running processes. It is implemented as a two level structure, where the top
index ce2aaeb4f06c3fca0af88eff988468d0b569911d..c25899f9384045f7c0c64a9981bfeaf387a9fa40 100644 (file)
@@ -85,7 +85,7 @@
 
 namespace fs = util::filesystem;
 
-using namespace std::literals::chrono_literals;
+using namespace std::chrono_literals;
 
 using core::AtomicFile;
 using core::Statistic;
index 3c91309f13a0b76f1b88e58f8e6948bbd643f36f..143641f82cf5ea0aaf72f2384cdb15a9cec44aed 100644 (file)
@@ -41,7 +41,7 @@
 #include <random>
 #include <sstream>
 
-using namespace std::literals::chrono_literals;
+using namespace std::chrono_literals;
 
 namespace fs = util::filesystem;
 
index 7e60ca926edc345887b76f01c0324f5f52ab3d69..ce285d4f6fc2ece11603aafcbc086bde070286c9 100644 (file)
@@ -38,7 +38,7 @@
 
 namespace fs = util::filesystem;
 
-using namespace std::literals::chrono_literals;
+using namespace std::chrono_literals;
 
 using TestUtil::TestContext;
 
index 53df10a9e30f3ee10c32144db25bd48b3004afd4..4b90db0d6b06b209ce5b7045f3c30d3b4a9a98ff 100644 (file)
@@ -25,7 +25,7 @@
 #include <ostream> // https://github.com/doctest/doctest/issues/618
 #include <vector>
 
-using namespace std::literals::chrono_literals;
+using namespace std::chrono_literals;
 
 TEST_SUITE_BEGIN("util");