aboutsummaryrefslogtreecommitdiff
path: root/paludis/filter_TEST.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-22 10:11:47 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-22 18:54:57 +0100
commit7a8a792ae878e2b432e0c67a813022117faa4e60 (patch)
treed9eac8e45ccc206bc6920d14e25f5613b54be02f /paludis/filter_TEST.cc
parent34700872057c99c57416612fbc264c48cfd38f9d (diff)
downloadpaludis-7a8a792ae878e2b432e0c67a813022117faa4e60.tar.gz
paludis-7a8a792ae878e2b432e0c67a813022117faa4e60.tar.xz
No more tr1:: and tr1/
Diffstat (limited to 'paludis/filter_TEST.cc')
-rw-r--r--paludis/filter_TEST.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/paludis/filter_TEST.cc b/paludis/filter_TEST.cc
index 8daea87f2..d83ff9c14 100644
--- a/paludis/filter_TEST.cc
+++ b/paludis/filter_TEST.cc
@@ -47,9 +47,9 @@ namespace test_cases
{
Filter filter;
TestEnvironment env;
- std::tr1::shared_ptr<FakeRepository> repo1;
- std::tr1::shared_ptr<FakeRepository> repo2;
- std::tr1::shared_ptr<FakeInstalledRepository> inst_repo1;
+ std::shared_ptr<FakeRepository> repo1;
+ std::shared_ptr<FakeRepository> repo2;
+ std::shared_ptr<FakeInstalledRepository> inst_repo1;
FilterTestCaseBase(const std::string & s, const Filter & f) :
TestCase("filter " + s + " with " + stringify(f)),
@@ -89,12 +89,12 @@ namespace test_cases
void run()
{
const std::string expected(get_expected());
- std::tr1::shared_ptr<const PackageIDSequence> got(env[selection::AllVersionsSorted(generator::All() | filter)]);
+ std::shared_ptr<const PackageIDSequence> got(env[selection::AllVersionsSorted(generator::All() | filter)]);
TEST_CHECK(got);
TEST_CHECK_EQUAL(join(indirect_iterator(got->begin()), indirect_iterator(got->end()), ", "), expected);
- std::tr1::shared_ptr<const PackageIDSequence> got_none(env[selection::AllVersionsSorted(
+ std::shared_ptr<const PackageIDSequence> got_none(env[selection::AllVersionsSorted(
generator::Matches(parse_user_package_dep_spec("not/exist", &env,
UserPackageDepSpecOptions()), MatchPackageOptions()) | filter)]);
TEST_CHECK(got_none);