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.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libbuild2/context.cxx') diff --git a/libbuild2/context.cxx b/libbuild2/context.cxx index b78cd27..3224dc1 100644 --- a/libbuild2/context.cxx +++ b/libbuild2/context.cxx @@ -896,6 +896,7 @@ namespace build2 //text << this_thread::get_id () << " phase switch " << o << " " << n; } +#if 0 phase_switch:: phase_switch (phase_unlock&& u, phase_lock&& l) : old_phase (u.l->phase), new_phase (l.phase) @@ -903,6 +904,7 @@ namespace build2 phase_lock_instance = u.l; // Disarms phase_lock u.l = nullptr; // Disarms phase_unlock } +#endif phase_switch:: ~phase_switch () noexcept (false) -- cgit v1.1