From 1f9b0fba2304a24591dec6fe9b9623f147649d57 Mon Sep 17 00:00:00 2001 From: Qyriad Date: Thu, 9 May 2024 07:00:51 -0600 Subject: add and fix -Wignored-qualifiers Change-Id: I4bffa766ae04dd80355f9b8c10e59700e4b406da --- src/libfetchers/tarball.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libfetchers/tarball.cc') diff --git a/src/libfetchers/tarball.cc b/src/libfetchers/tarball.cc index 68cb0ca40..cda6b7acb 100644 --- a/src/libfetchers/tarball.cc +++ b/src/libfetchers/tarball.cc @@ -186,7 +186,7 @@ struct CurlInputScheme : InputScheme virtual const std::string inputType() const = 0; const std::set transportUrlSchemes = {"file", "http", "https"}; - const bool hasTarballExtension(std::string_view path) const + bool hasTarballExtension(std::string_view path) const { return path.ends_with(".zip") || path.ends_with(".tar") || path.ends_with(".tgz") || path.ends_with(".tar.gz") -- cgit v1.2.3