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/filetransfer.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/filetransfer.cc')
-rw-r--r-- | src/libstore/filetransfer.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstore/filetransfer.cc b/src/libstore/filetransfer.cc index fd0a42cb3..8d508facb 100644 --- a/src/libstore/filetransfer.cc +++ b/src/libstore/filetransfer.cc @@ -6,7 +6,6 @@ #include "signals.hh" #include "compression.hh" #include "finally.hh" -#include "callback.hh" #if ENABLE_S3 #include <aws/core/client/ClientConfiguration.h> |