diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-03-02 15:17:28 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-03-02 15:17:28 +0200 |
commit | d4a6fb02ab5741aa41251653f0be3feb4594e553 (patch) | |
tree | db4742baace7bf7f49e82c165bdf218913750ed0 /tests/build | |
parent | 65664ba5a6241e9c58d846cde6ed9fcbbe53d2cd (diff) |
Cleanup to support clang compilation
Diffstat (limited to 'tests/build')
-rw-r--r-- | tests/build/prefix-map/driver.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/build/prefix-map/driver.cxx b/tests/build/prefix-map/driver.cxx index d365df2..2110d31 100644 --- a/tests/build/prefix-map/driver.cxx +++ b/tests/build/prefix-map/driver.cxx @@ -14,10 +14,10 @@ using namespace build; int main () { - typedef prefix_map<string, int> pm; + typedef prefix_map<string, int, '.'> pm; { - const pm m ('.'); + const pm m; { auto r (m.find_prefix ("")); @@ -31,7 +31,7 @@ main () } { - pm m {{{"foo", 1}}, '.'}; + pm m {{{"foo", 1}}}; { auto r (m.find_prefix ("")); @@ -67,7 +67,7 @@ main () } { - pm m {{{"foo", 1}, {"bar", 2}}, '.'}; + pm m {{{"foo", 1}, {"bar", 2}}}; { auto r (m.find_prefix ("")); @@ -113,8 +113,7 @@ main () pm m ( {{"boo", 1}, {"foo", 2}, {"fooa", 3}, {"foo.bar", 4}, {"foo.fox", 5}, - {"xoo", 5}}, - '.'); + {"xoo", 5}}); { auto r (m.find_prefix ("fo")); |