aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/vdb_repository.hh
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/repositories/e/vdb_repository.hh
parent34700872057c99c57416612fbc264c48cfd38f9d (diff)
downloadpaludis-7a8a792ae878e2b432e0c67a813022117faa4e60.tar.gz
paludis-7a8a792ae878e2b432e0c67a813022117faa4e60.tar.xz
No more tr1:: and tr1/
Diffstat (limited to 'paludis/repositories/e/vdb_repository.hh')
-rw-r--r--paludis/repositories/e/vdb_repository.hh40
1 files changed, 20 insertions, 20 deletions
diff --git a/paludis/repositories/e/vdb_repository.hh b/paludis/repositories/e/vdb_repository.hh
index df52a210e..e17349525 100644
--- a/paludis/repositories/e/vdb_repository.hh
+++ b/paludis/repositories/e/vdb_repository.hh
@@ -28,7 +28,7 @@
#include <paludis/util/fs_entry.hh>
#include <paludis/util/map.hh>
#include <paludis/repositories/e/e_repository_id.hh>
-#include <tr1/memory>
+#include <memory>
/** \file
* Declarations for VDBRepository.
@@ -76,7 +76,7 @@ namespace paludis
class PALUDIS_VISIBLE VDBRepository :
public erepository::EInstalledRepository,
public RepositoryProvidesInterface,
- public std::tr1::enable_shared_from_this<VDBRepository>,
+ public std::enable_shared_from_this<VDBRepository>,
public PrivateImplementationPattern<VDBRepository>
{
private:
@@ -93,11 +93,11 @@ namespace paludis
void need_category_names() const;
void need_package_ids(const CategoryNamePart &) const;
- const std::tr1::shared_ptr<const erepository::ERepositoryID> package_id_if_exists(const QualifiedPackageName &,
+ const std::shared_ptr<const erepository::ERepositoryID> package_id_if_exists(const QualifiedPackageName &,
const VersionSpec &) const
PALUDIS_ATTRIBUTE((warn_unused_result));
- const std::tr1::shared_ptr<const erepository::ERepositoryID> make_id(const QualifiedPackageName &, const VersionSpec &,
+ const std::shared_ptr<const erepository::ERepositoryID> make_id(const QualifiedPackageName &, const VersionSpec &,
const FSEntry &) const
PALUDIS_ATTRIBUTE((warn_unused_result));
@@ -122,12 +122,12 @@ namespace paludis
virtual void regenerate_cache() const;
virtual void perform_uninstall(
- const std::tr1::shared_ptr<const erepository::ERepositoryID> & id,
+ const std::shared_ptr<const erepository::ERepositoryID> & id,
const UninstallAction &) const;
/* RepositoryProvidesInterface */
- virtual std::tr1::shared_ptr<const ProvidesSequence> provided_packages() const
+ virtual std::shared_ptr<const ProvidesSequence> provided_packages() const
PALUDIS_ATTRIBUTE((warn_unused_result));
/* RepositoryDestinationInterface */
@@ -136,18 +136,18 @@ namespace paludis
/* Repository */
- virtual std::tr1::shared_ptr<const PackageIDSequence> package_ids(
+ virtual std::shared_ptr<const PackageIDSequence> package_ids(
const QualifiedPackageName &) const
PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::tr1::shared_ptr<const QualifiedPackageNameSet> package_names(
+ virtual std::shared_ptr<const QualifiedPackageNameSet> package_names(
const CategoryNamePart &) const
PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::tr1::shared_ptr<const CategoryNamePartSet> category_names() const
+ virtual std::shared_ptr<const CategoryNamePartSet> category_names() const
PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::tr1::shared_ptr<const CategoryNamePartSet> category_names_containing_package(
+ virtual std::shared_ptr<const CategoryNamePartSet> category_names_containing_package(
const PackageNamePart &) const
PALUDIS_ATTRIBUTE((warn_unused_result));
@@ -160,26 +160,26 @@ namespace paludis
virtual const bool is_unimportant() const;
/* Keys */
- virtual const std::tr1::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
- virtual const std::tr1::shared_ptr<const MetadataValueKey<FSEntry> > location_key() const;
- virtual const std::tr1::shared_ptr<const MetadataValueKey<FSEntry> > installed_root_key() const;
- virtual const std::tr1::shared_ptr<const MetadataValueKey<std::string> > accept_keywords_key() const;
- virtual const std::tr1::shared_ptr<const MetadataValueKey<std::string> > sync_host_key() const;
+ virtual const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
+ virtual const std::shared_ptr<const MetadataValueKey<FSEntry> > location_key() const;
+ virtual const std::shared_ptr<const MetadataValueKey<FSEntry> > installed_root_key() const;
+ virtual const std::shared_ptr<const MetadataValueKey<std::string> > accept_keywords_key() const;
+ virtual const std::shared_ptr<const MetadataValueKey<std::string> > sync_host_key() const;
///\name RepositoryFactory functions
///\{
static RepositoryName repository_factory_name(
const Environment * const env,
- const std::tr1::function<std::string (const std::string &)> &);
+ const std::function<std::string (const std::string &)> &);
- static std::tr1::shared_ptr<Repository> repository_factory_create(
+ static std::shared_ptr<Repository> repository_factory_create(
Environment * const env,
- const std::tr1::function<std::string (const std::string &)> &);
+ const std::function<std::string (const std::string &)> &);
- static std::tr1::shared_ptr<const RepositoryNameSet> repository_factory_dependencies(
+ static std::shared_ptr<const RepositoryNameSet> repository_factory_dependencies(
const Environment * const env,
- const std::tr1::function<std::string (const std::string &)> &);
+ const std::function<std::string (const std::string &)> &);
///\}