From: Joel Rosdahl Date: Thu, 7 May 2020 17:11:44 +0000 (+0200) Subject: Remove last usage of legacy args_remove_first function X-Git-Tag: v4.0~481 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b735115ca5af72cb4edd3736130d2f6e6b52cb01;p=thirdparty%2Fccache.git Remove last usage of legacy args_remove_first function --- diff --git a/src/ccache.cpp b/src/ccache.cpp index 31a58f807..b4ada3d03 100644 --- a/src/ccache.cpp +++ b/src/ccache.cpp @@ -1959,7 +1959,7 @@ find_compiler(Context& ctx, const char* const* argv) // We might be being invoked like "ccache gcc -c foo.c". std::string base(Util::base_name(argv[0])); if (same_executable_name(base.c_str(), MYNAME)) { - args_remove_first(ctx.orig_args); + ctx.orig_args.pop_front(); if (is_full_path(ctx.orig_args->argv[0])) { // A full path was given. return;