aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/guess.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-12-04 13:24:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-12-04 13:24:37 +0200
commit7c3eada02a3a22ff109ef0631e75586308ab2587 (patch)
tree3e8452d5f25cb3124508deaca9d14842a0ced0f4 /build2/cc/guess.hxx
parentad770fe609d1958a64e7364861296ac5407611d9 (diff)
Recognize empty cc.pattern
Diffstat (limited to 'build2/cc/guess.hxx')
-rw-r--r--build2/cc/guess.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/cc/guess.hxx b/build2/cc/guess.hxx
index e3a4d8c..86c9793 100644
--- a/build2/cc/guess.hxx
+++ b/build2/cc/guess.hxx
@@ -166,13 +166,13 @@ namespace build2
const strings* c_coptions,
const strings* x_coptions);
- // Given a language, toolchain id, and optionally a pattern, return an
- // appropriate default compiler path.
+ // Given a language, toolchain id, and optionally (empty) a pattern,
+ // return an appropriate default compiler path.
//
// For example, for (lang::cxx, gcc, *-4.9) we will get g++-4.9.
//
path
- guess_default (lang, const string& cid, const string* pattern);
+ guess_default (lang, const string& cid, const string& pattern);
}
}