aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-12-12 10:37:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-12-12 10:37:34 +0200
commit30e5f6677c6ad8246419b2392791f2664d48bf05 (patch)
treeae9de32ab52e049a0d7b5db46878f68f374dc58d /libbuild2/target.ixx
parent2a9607c1648a39210012139e62e07fce790badde (diff)
Work around unexecuted member for installed libraries issue
See comment for the long-term plan.
Diffstat (limited to 'libbuild2/target.ixx')
-rw-r--r--libbuild2/target.ixx12
1 files changed, 0 insertions, 12 deletions
diff --git a/libbuild2/target.ixx b/libbuild2/target.ixx
index 2e1c65e..39b81e7 100644
--- a/libbuild2/target.ixx
+++ b/libbuild2/target.ixx
@@ -769,19 +769,7 @@ namespace build2
inline bool mtime_target::
newer (timestamp mt, target_state s) const
{
-#ifndef NDEBUG
- // @@ TMP
- //
- if (s == target_state::unknown)
- {
- text << "unknown target_state in newer(): " << *this <<
- info << "phase: " << ctx.phase;
-
- terminate (true /* trace */);
- }
-
assert (s != target_state::unknown); // Should be executed.
-#endif
timestamp mp (mtime ());