From f7bba792a10864f0a64a2a579306e3b20602c1dc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 29 Mar 2016 17:14:01 +0200 Subject: Reset build state for each meta-operation --- build2/dist/operation.cxx | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'build2/dist') diff --git a/build2/dist/operation.cxx b/build2/dist/operation.cxx index 11ee313..86917ed 100644 --- a/build2/dist/operation.cxx +++ b/build2/dist/operation.cxx @@ -19,18 +19,6 @@ namespace build2 { namespace dist { - static void - dist_meta_operation_pre () - { - // Reset the dependency state so that we don't end up with stray - // files from previous batches. - // - // @@ This is called too late, after we have bootstrapped the - // project. - // - //reset (); - } - static operation_id dist_operation_pre (operation_id o) { @@ -441,7 +429,7 @@ namespace build2 "distribute", "distributing", "has nothing to distribute", // We cannot "be distributed". - &dist_meta_operation_pre, + nullptr, // meta-operation pre &dist_operation_pre, &load, // normal load &search, // normal search -- cgit v1.1