aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-01-29 22:09:45 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-01-29 22:09:45 +0000
commit5e5ba2d50752c7c2b83ca75ce124ea66a0946e50 (patch)
tree313807da773d21a9d8204d8ed9f0f53eb7bcbd45 /test
parent78a2a6998dfb6cd7049539e15d9083c34049b9d2 (diff)
downloadpaludis-5e5ba2d50752c7c2b83ca75ce124ea66a0946e50.tar.gz
paludis-5e5ba2d50752c7c2b83ca75ce124ea66a0946e50.tar.xz
Use std::tr1::shared_ptr<> instead of paludis::CountedPtr.
Diffstat (limited to 'test')
-rw-r--r--test/test_framework.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/test_framework.cc b/test/test_framework.cc
index 065688c..11a93a8 100644
--- a/test/test_framework.cc
+++ b/test/test_framework.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2006 Ciaran McCreesh <ciaranm@ciaranm.org>
+ * Copyright (c) 2006, 2007 Ciaran McCreesh <ciaranm@ciaranm.org>
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -83,8 +83,7 @@ std::string (* test::get_exception_to_debug_string()) (const std::exception &)
namespace paludis
{
template<>
- struct Implementation<TestMessageSuffix> :
- InternalCounted<Implementation<TestMessageSuffix> >
+ struct Implementation<TestMessageSuffix>
{
static std::list<std::string> suffixes;
};
@@ -125,8 +124,7 @@ TestMessageSuffix::~TestMessageSuffix()
namespace paludis
{
template<>
- struct Implementation<TestCase> :
- InternalCounted<Implementation<TestCase> >
+ struct Implementation<TestCase>
{
const std::string name;