aboutsummaryrefslogtreecommitdiff
path: root/build2/dist/operation.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-03-29 17:14:01 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-03-29 17:14:01 +0200
commitf7bba792a10864f0a64a2a579306e3b20602c1dc (patch)
treeaf9e663a74500fc2784a210799e9deadf2f883eb /build2/dist/operation.cxx
parent96f2131e593e206f0e458409f22adfff8c1b5356 (diff)
Reset build state for each meta-operation
Diffstat (limited to 'build2/dist/operation.cxx')
-rw-r--r--build2/dist/operation.cxx14
1 files changed, 1 insertions, 13 deletions
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