mirror of
https://github.com/NixOS/nix
synced 2025-06-27 08:31:16 +02:00
Don't include <regex> in header files
This reduces compilation time by ~15 seconds (CPU time). Issue #4045.
This commit is contained in:
parent
cbe0bb29f4
commit
e8e1d420f3
16 changed files with 96 additions and 53 deletions
|
@ -230,7 +230,7 @@ static DrvInfos filterBySelector(EvalState & state, const DrvInfos & allElems,
|
|||
{
|
||||
DrvNames selectors = drvNamesFromArgs(args);
|
||||
if (selectors.empty())
|
||||
selectors.push_back(DrvName("*"));
|
||||
selectors.emplace_back("*");
|
||||
|
||||
DrvInfos elems;
|
||||
set<unsigned int> done;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue