aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/virtuals
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-22 18:34:00 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-22 18:55:26 +0100
commit8603d3262180a2771947801ce1d80cbd5092c989 (patch)
tree85f5265b67dc94b063b320870a8ea8588999593e /paludis/repositories/virtuals
parentf7be9952e67a5cdad6f3531a22654db198e7d106 (diff)
downloadpaludis-8603d3262180a2771947801ce1d80cbd5092c989.tar.gz
paludis-8603d3262180a2771947801ce1d80cbd5092c989.tar.xz
shared_ptr<> no longer implicitly bools
Diffstat (limited to 'paludis/repositories/virtuals')
-rw-r--r--paludis/repositories/virtuals/virtuals_repository_TEST.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/virtuals/virtuals_repository_TEST.cc b/paludis/repositories/virtuals/virtuals_repository_TEST.cc
index e7aece21f..c2ba62b88 100644
--- a/paludis/repositories/virtuals/virtuals_repository_TEST.cc
+++ b/paludis/repositories/virtuals/virtuals_repository_TEST.cc
@@ -73,7 +73,7 @@ namespace test_cases
repo->add_virtual_package(QualifiedPackageName("virtual/pkg"), std::make_shared<PackageDepSpec>(
parse_user_package_dep_spec(">=cat/pkg-2", &env, UserPackageDepSpecOptions())));
- TEST_CHECK(repo->virtual_packages());
+ TEST_CHECK(bool(repo->virtual_packages()));
TEST_CHECK_EQUAL(std::distance(repo->virtual_packages()->begin(), repo->virtual_packages()->end()), 1);
TEST_CHECK(virtuals->has_category_named(CategoryNamePart("virtual")));