aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/context.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-01-15 11:48:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-01-15 11:48:43 +0200
commitd53786dfb6eda448b2091c5b8ab371701851efb0 (patch)
tree1c86cceb1f400372310588874e088752648b0611 /libbuild2/context.hxx
parent8345d5eba80a11de363c8a96070316fdd6b6fd22 (diff)
Disable questionable unused functionality
Diffstat (limited to 'libbuild2/context.hxx')
-rw-r--r--libbuild2/context.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/libbuild2/context.hxx b/libbuild2/context.hxx
index e3ffa3a..edbf780 100644
--- a/libbuild2/context.hxx
+++ b/libbuild2/context.hxx
@@ -606,10 +606,12 @@ namespace build2
// phase_lock pl;
// phase_switch ps (move (pu), move (pl));
//
+ // @@ Need to re-confirm it does the right thing if/when we need it.
+ //
struct LIBBUILD2_SYMEXPORT phase_switch
{
phase_switch (context&, run_phase);
- phase_switch (phase_unlock&&, phase_lock&&);
+ //phase_switch (phase_unlock&&, phase_lock&&);
~phase_switch () noexcept (false);
run_phase old_phase, new_phase;