From 8f583c118a68513ff8ed96d92f20fcf7e77cec16 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 27 Aug 2018 15:06:14 +0200 Subject: Fix diagnostics bug --- build2/bin/target.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build2/bin/target.cxx b/build2/bin/target.cxx index 6c62258..093df6e 100644 --- a/build2/bin/target.cxx +++ b/build2/bin/target.cxx @@ -174,7 +174,7 @@ namespace build2 if (const target* g2 = targets.find (dir, out, n)) { if (g != 0) - fail << "both " << *g << " and " << g2 << " targets declared"; + fail << "both " << *g << " and " << *g2 << " targets declared"; g = g2; } @@ -198,7 +198,6 @@ namespace build2 false }; - const target_type libua::static_type { "libua", -- cgit v1.1