aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-03-02 15:17:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-03-02 15:17:28 +0200
commitd4a6fb02ab5741aa41251653f0be3feb4594e553 (patch)
treedb4742baace7bf7f49e82c165bdf218913750ed0 /tests
parent65664ba5a6241e9c58d846cde6ed9fcbbe53d2cd (diff)
Cleanup to support clang compilation
Diffstat (limited to 'tests')
-rw-r--r--tests/build/prefix-map/driver.cxx11
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"));