aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/utility.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/utility.ixx')
-rw-r--r--libbuild2/utility.ixx48
1 files changed, 0 insertions, 48 deletions
diff --git a/libbuild2/utility.ixx b/libbuild2/utility.ixx
index 3948623..58ea8db 100644
--- a/libbuild2/utility.ixx
+++ b/libbuild2/utility.ixx
@@ -169,30 +169,6 @@ namespace build2
template <typename T, typename F>
inline T
- run (diag_buffer& dbuf,
- uint16_t verbosity,
- const process_env& pe,
- const char* const* args,
- F&& f,
- sha256* checksum)
- {
- T r;
- run (dbuf,
- verbosity,
- pe, args,
- verbosity - 1,
- [&r, &f] (string& l, bool last) // Small function optimmization.
- {
- r = f (l, last);
- return r.empty ();
- },
- true /* trim */,
- checksum);
- return r;
- }
-
- template <typename T, typename F>
- inline T
run (context& ctx,
const process_env& pe,
const char* const* args,
@@ -221,30 +197,6 @@ namespace build2
return r;
}
- template <typename T, typename F>
- inline T
- run (diag_buffer& dbuf,
- const process_env& pe,
- const char* const* args,
- uint16_t finish_verbosity,
- F&& f,
- sha256* checksum)
- {
- T r;
- run (dbuf,
- verb_never,
- pe, args,
- finish_verbosity,
- [&r, &f] (string& l, bool last)
- {
- r = f (l, last);
- return r.empty ();
- },
- true /* trim */,
- checksum);
- return r;
- }
-
inline void
hash_path (sha256& cs, const path& p, const dir_path& prefix)
{