aboutsummaryrefslogtreecommitdiff
path: root/build2/depdb.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/depdb.hxx')
-rw-r--r--build2/depdb.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/depdb.hxx b/build2/depdb.hxx
index af9b9e3..95d9f4b 100644
--- a/build2/depdb.hxx
+++ b/build2/depdb.hxx
@@ -228,7 +228,8 @@ namespace build2
expect (const path_type& v)
{
string* l (read ());
- if (l == nullptr || path_type::traits::compare (*l, v.string ()) != 0)
+ if (l == nullptr ||
+ path_type::traits_type::compare (*l, v.string ()) != 0)
{
write (v);
return l;