1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-03 07:31:00 +01:00

Solve unused header warnings reported by clangd

This commit is contained in:
Robert Hensing 2024-07-12 15:37:54 +02:00
parent f070d68c32
commit 8df041cbc6
46 changed files with 53 additions and 84 deletions

View file

@ -11,6 +11,8 @@
#include <memory>
#include <nlohmann/json_fwd.hpp>
#include "ref.hh"
namespace nix { class Store; class StorePath; struct SourceAccessor; }
namespace nix::fetchers {

View file

@ -2,12 +2,10 @@
#include "fetchers.hh"
#include "cache.hh"
#include "filetransfer.hh"
#include "globals.hh"
#include "store-api.hh"
#include "archive.hh"
#include "tarfile.hh"
#include "types.hh"
#include "split.hh"
#include "store-path-accessor.hh"
#include "store-api.hh"
#include "git-utils.hh"

View file

@ -1,11 +1,12 @@
#pragma once
#include "types.hh"
#include "path.hh"
#include "hash.hh"
#include <optional>
#include "hash.hh"
#include "path.hh"
#include "ref.hh"
#include "types.hh"
namespace nix {
class Store;
struct SourceAccessor;