]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Remove last usage of legacy args_set function
authorJoel Rosdahl <joel@rosdahl.net>
Thu, 7 May 2020 17:12:31 +0000 (19:12 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 7 May 2020 17:12:31 +0000 (19:12 +0200)
src/hashutil.cpp

index f9c0920043b8ca4ad1d0c26fc04ab09cb8c95e63..a09656960131616dbdf00acb9c633d5a6267abf8 100644 (file)
@@ -317,7 +317,7 @@ hash_command_output(struct hash* hash,
 
   for (size_t i = 0; i < args.size(); i++) {
     if (str_eq(args->argv[i], "%compiler%")) {
-      args_set(args, i, compiler);
+      args[i] = compiler;
     }
   }