mirror of
https://github.com/NixOS/nix
synced 2025-07-07 18:31:49 +02:00
add and fix -Wignored-qualifiers
Change-Id: I4bffa766ae04dd80355f9b8c10e59700e4b406da Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
This commit is contained in:
parent
52a16b7e59
commit
05bc889b89
2 changed files with 2 additions and 2 deletions
|
@ -202,7 +202,7 @@ struct CurlInputScheme : InputScheme
|
|||
{
|
||||
const std::set<std::string> transportUrlSchemes = {"file", "http", "https"};
|
||||
|
||||
const bool hasTarballExtension(std::string_view path) const
|
||||
bool hasTarballExtension(std::string_view path) const
|
||||
{
|
||||
return hasSuffix(path, ".zip") || hasSuffix(path, ".tar")
|
||||
|| hasSuffix(path, ".tgz") || hasSuffix(path, ".tar.gz")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue