From d53786dfb6eda448b2091c5b8ab371701851efb0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 15 Jan 2021 11:48:43 +0200 Subject: Disable questionable unused functionality --- libbuild2/context.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libbuild2/context.hxx') 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; -- cgit v1.1