From ceccac835c55e3b5c805851bad871360641ff1d9 Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Sun, 28 Apr 2024 02:21:46 +0200 Subject: libutil: remove callback.hh it's no longer used. it really shouldn't have existed this long since it was just a mashup of both std::promise and std::packaged_task in a shape that makes composition unnecessarily difficult. all but a single case of Callback pattern calls were fully synchronous anyway, and even this sole outlier was by far not important enough to justify the extra complexity. Change-Id: I208aec4572bf2501cdbd0f331f27d505fca3a62f --- src/libstore/dummy-store.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'src/libstore/dummy-store.cc') diff --git a/src/libstore/dummy-store.cc b/src/libstore/dummy-store.cc index ae2b91370..e97425c80 100644 --- a/src/libstore/dummy-store.cc +++ b/src/libstore/dummy-store.cc @@ -1,5 +1,4 @@ #include "store-api.hh" -#include "callback.hh" namespace nix { -- cgit v1.2.3