diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-06-03 12:59:26 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-06-03 13:00:04 +0300 |
commit | d37709e5c27b1fe7b98de57247449c6272c79580 (patch) | |
tree | 9d453f1f0fe949175b1d35eff7121a984656c14d /build2/cc/link-rule.cxx | |
parent | 13c05ef5a633d3779e4b1b01a0306755e27c2c4b (diff) |
Adapt to renaming traits alias to traits_type for basic_path, basic_url, and string_table class templates
Diffstat (limited to 'build2/cc/link-rule.cxx')
-rw-r--r-- | build2/cc/link-rule.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cc/link-rule.cxx b/build2/cc/link-rule.cxx index 80ba503..372d077 100644 --- a/build2/cc/link-rule.cxx +++ b/build2/cc/link-rule.cxx @@ -1528,7 +1528,7 @@ namespace build2 // better than checking for a platform-specific extension (maybe // we should cache it somewhere). // - size_t p (path::traits::find_extension (f)); + size_t p (path::traits_type::find_extension (f)); if (p == string::npos) return; @@ -1553,7 +1553,7 @@ namespace build2 // string o (d.link ? "-Wl,-rpath-link," : "-Wl,-rpath,"); - size_t p (path::traits::rfind_separator (f)); + size_t p (path::traits_type::rfind_separator (f)); assert (p != string::npos); o.append (f, 0, (p != 0 ? p : 1)); // Don't include trailing slash. |