]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Remove last usage of legacy args_add_prefix function
authorJoel Rosdahl <joel@rosdahl.net>
Thu, 7 May 2020 16:54:45 +0000 (18:54 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 7 May 2020 16:54:45 +0000 (18:54 +0200)
src/ccache.cpp

index 76b9ecdafa655a71dadbb0998eb814797f5e78af..3b75c3bd3b260a840cc7fdaa8c9efe137adaa184 100644 (file)
@@ -178,7 +178,7 @@ add_prefix(const Context& ctx, Args& args, const std::string& prefix_command)
 
   cc_log("Using command-line prefix %s", prefix_command.c_str());
   for (size_t i = prefix.size(); i != 0; i--) {
-    args_add_prefix(args, prefix->argv[i - 1]);
+    args.push_front(prefix->argv[i - 1]);
   }
 }