diff options
author | eldritch horrors <pennae@lix.systems> | 2024-04-28 02:21:46 +0200 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-05-10 02:21:11 +0200 |
commit | ceccac835c55e3b5c805851bad871360641ff1d9 (patch) | |
tree | 55cc9d81430e6e8173e3cc4c308d173c6ce69034 /src/libstore/store-api.cc | |
parent | b66451ae7fe12500f135137155c2aae6c406b2da (diff) |
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
Diffstat (limited to 'src/libstore/store-api.cc')
-rw-r--r-- | src/libstore/store-api.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc index 942e3f521..509b0fa68 100644 --- a/src/libstore/store-api.cc +++ b/src/libstore/store-api.cc @@ -9,7 +9,6 @@ #include "url.hh" #include "references.hh" #include "archive.hh" -#include "callback.hh" #include "remote-store.hh" #include "signals.hh" // FIXME this should not be here, see TODO below on |