aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/guess.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-01-08 12:46:10 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-01-08 12:46:10 +0200
commit8b07d68462c5fec92fd5a4aab77ddfd425d1f8d0 (patch)
tree155b5d4e1789bdb2523081da12201d87d5fa4153 /build2/cc/guess.hxx
parentf6c3788de3d148c90aba705d045b1d92e7fea20a (diff)
Implement compiler_info caching
Diffstat (limited to 'build2/cc/guess.hxx')
-rw-r--r--build2/cc/guess.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/guess.hxx b/build2/cc/guess.hxx
index d6ca28d..8c291a9 100644
--- a/build2/cc/guess.hxx
+++ b/build2/cc/guess.hxx
@@ -202,7 +202,7 @@ namespace build2
// of fur in multiple places doesn't seem wise, especially considering
// that most of it will be the same, at least for C and C++.
//
- compiler_info
+ const compiler_info&
guess (lang,
const path& xc,
const strings* c_poptions, const strings* x_poptions,