From d4a6fb02ab5741aa41251653f0be3feb4594e553 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 2 Mar 2015 15:17:28 +0200 Subject: Cleanup to support clang compilation --- tests/build/prefix-map/driver.cxx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'tests/build') 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 pm; + typedef prefix_map 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")); -- cgit v1.1