aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/lexer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/lexer.hxx')
-rw-r--r--build2/cc/lexer.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/lexer.hxx b/build2/cc/lexer.hxx
index d41038d..0f52aff 100644
--- a/build2/cc/lexer.hxx
+++ b/build2/cc/lexer.hxx
@@ -177,7 +177,7 @@ namespace build2
// Diagnostics plumbing.
//
inline location
- get_location (const token& t, const void*)
+ get_location (const token& t, const void* = nullptr)
{
return location (&t.file, t.line, t.column);
}