aboutsummaryrefslogtreecommitdiff
path: root/build2/cxx/guess.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cxx/guess.cxx')
-rw-r--r--build2/cxx/guess.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cxx/guess.cxx b/build2/cxx/guess.cxx
index ad52847..b55fb27 100644
--- a/build2/cxx/guess.cxx
+++ b/build2/cxx/guess.cxx
@@ -902,7 +902,7 @@ namespace build2
// If we could pre-guess the type based on the excutable name, then
// try the test just for that compiler.
//
- if (pre.empty ())
+ if (!pre.empty ())
{
gr = guess (cxx, pre);