From 6a30ea0cc47845622dd85e4816570a005e6c9e51 Mon Sep 17 00:00:00 2001 From: Qyriad Date: Sun, 7 Jul 2024 15:06:37 -0600 Subject: 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 --- src/libexpr/get-drvs.hh | 1 - 1 file changed, 1 deletion(-) (limited to 'src/libexpr') 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, const std::string & drvPathWithOutputs); -- cgit v1.2.3