aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/function/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/function/driver.cxx')
-rw-r--r--unit-tests/function/driver.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unit-tests/function/driver.cxx b/unit-tests/function/driver.cxx
index 235af0c..9e50973 100644
--- a/unit-tests/function/driver.cxx
+++ b/unit-tests/function/driver.cxx
@@ -45,8 +45,8 @@ namespace build2
f[".qual"] = []() {return "abc";};
- f[".length"] = &string::size; // Member function.
- f[".type"] = &name::type; // Data member.
+ f[".length"] = &path::size; // Member function.
+ f[".type"] = &name::type; // Data member.
f[".abs"] = [](dir_path d) {return d.absolute ();};