diff options
author | Qyriad <qyriad@qyriad.me> | 2024-07-07 15:06:37 -0600 |
---|---|---|
committer | Qyriad <qyriad@qyriad.me> | 2024-08-01 00:36:41 +0000 |
commit | 6a30ea0cc47845622dd85e4816570a005e6c9e51 (patch) | |
tree | 060e5fd452983c1e20fc0eabf74957a2a074a4da /src | |
parent | eb18dcb0ea9ceab4f341492f4a7d8454d075b26d (diff) |
libexpr: DrvInfo: remove unused bad-citizen constructor
DrvInfo's constructor that only takes `EvalState` leaves everything else
empty; a DrvInfo which has no iota of information about the derivation
it represents is not useful, and was not used anywhere.
Change-Id: Ic4d93a08cb2748b8cef9a61e41e70404834b23f9
Diffstat (limited to 'src')
-rw-r--r-- | src/libexpr/get-drvs.hh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libexpr/get-drvs.hh b/src/libexpr/get-drvs.hh index 525ac9803..fd927b9e5 100644 --- a/src/libexpr/get-drvs.hh +++ b/src/libexpr/get-drvs.hh @@ -45,7 +45,6 @@ public: */ std::string attrPath; - DrvInfo(EvalState & state) : state(&state) { }; DrvInfo(EvalState & state, std::string attrPath, Bindings * attrs); DrvInfo(EvalState & state, ref<Store> store, const std::string & drvPathWithOutputs); |