diff options
Diffstat (limited to 'src/libexpr/names.hh')
-rw-r--r-- | src/libexpr/names.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libexpr/names.hh b/src/libexpr/names.hh index ebe113e82ac1..4b3dcddf70d7 100644 --- a/src/libexpr/names.hh +++ b/src/libexpr/names.hh @@ -1,6 +1,9 @@ #pragma once +#include <memory> + #include "types.hh" +#include "regex.hh" namespace nix { @@ -14,6 +17,9 @@ struct DrvName DrvName(); DrvName(const string & s); bool matches(DrvName & n); + +private: + std::shared_ptr<Regex> regex; }; typedef list<DrvName> DrvNames; |