mirror of
https://github.com/NixOS/nix
synced 2025-06-25 19:01:16 +02:00
Remove unused boost include and split out std-hash.hh
Splitting it out immediately answers questions like [this], without increasing the number of compilation units. I did consider using boost::hash_combine instead, but it doesn't seem to be quite as capable, accepting only two arguments. [this]: https://github.com/NixOS/nix/pull/11113#discussion_r1679991573
This commit is contained in:
parent
64b46000ad
commit
d0e9878389
5 changed files with 27 additions and 17 deletions
|
@ -8,8 +8,7 @@
|
|||
#include "ref.hh"
|
||||
#include "canon-path.hh"
|
||||
#include "source-accessor.hh"
|
||||
|
||||
#include <boost/functional/hash.hpp> // for boost::hash_combine
|
||||
#include "std-hash.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue