aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/types.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/cc/types.cxx')
-rw-r--r--libbuild2/cc/types.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/types.cxx b/libbuild2/cc/types.cxx
index 666b048..bd68147 100644
--- a/libbuild2/cc/types.cxx
+++ b/libbuild2/cc/types.cxx
@@ -68,7 +68,7 @@ namespace build2
{
path f (s, 1, s.size () - 2);
- path p;
+ path p; // Reuse the buffer.
for (const dir_path& d: sys_inc_dirs)
{
if (file_exists ((p = d, p /= f),