aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-10-24 19:10:19 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2008-10-24 19:10:19 +0100
commit6354fb6904e671e86c1d12df54315fafee32f41b (patch)
tree20fdef3f72a50b4e77dcb26890a3a2c04a437a5d
parent7cd0c2d122a5b38c5a925dac52b429c99e7f5085 (diff)
downloadpaludis-6354fb6904e671e86c1d12df54315fafee32f41b.tar.gz
paludis-6354fb6904e671e86c1d12df54315fafee32f41b.tar.xz
Work around apparent GCC 4.1 bug.
-rw-r--r--paludis/stringify_formatter_TEST.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/stringify_formatter_TEST.cc b/paludis/stringify_formatter_TEST.cc
index c43969e..5e563d3 100644
--- a/paludis/stringify_formatter_TEST.cc
+++ b/paludis/stringify_formatter_TEST.cc
@@ -100,7 +100,8 @@ namespace test_cases
void run()
{
StringifyFormatter ff;
- std::string s(format_two(KeywordName("one"), LicenseDepSpec("two"), ff));
+ LicenseDepSpec l("two");
+ std::string s(format_two(KeywordName("one"), l, ff));
TEST_CHECK_EQUAL(s, "one two");
}
} test_stringify_formatter;