]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
chore: Touch up documentation of Util::make_path
authorJoel Rosdahl <joel@rosdahl.net>
Tue, 23 Aug 2022 19:58:05 +0000 (21:58 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 24 Aug 2022 17:16:49 +0000 (19:16 +0200)
src/Util.hpp

index e2fc5a3cedd38177649f48d463e9b559a0be4832..6b2d21326aa1c0381f7cff0f407a6094c44251ca 100644 (file)
@@ -236,8 +236,11 @@ bool is_precompiled_header(std::string_view path);
 // time of day is used.
 std::optional<tm> localtime(std::optional<time_t> time = {});
 
-// Construct a normalized native path, used like:
-// std::string path = Util::make_path("usr", "local", "bin");
+// Construct a normalized native path.
+//
+// Example:
+//
+//   std::string path = Util::make_path("usr", "local", "bin");
 template<typename... T>
 std::string
 make_path(const T&... args)