diff options
Diffstat (limited to 'build2/cc/guess.cxx')
-rw-r--r-- | build2/cc/guess.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cc/guess.cxx b/build2/cc/guess.cxx index 627283f..df7899b 100644 --- a/build2/cc/guess.cxx +++ b/build2/cc/guess.cxx @@ -1189,7 +1189,7 @@ namespace build2 } path - guess_default (lang xl, const string& c, const string* pat) + guess_default (lang xl, const string& c, const string& pat) { const char* s (nullptr); @@ -1217,7 +1217,7 @@ namespace build2 } } - return path (apply_pattern (s, pat)); + return path (apply_pattern (s, &pat)); } } } |