aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/gems/installed_gems_repository.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/gems/installed_gems_repository.cc')
-rw-r--r--paludis/repositories/gems/installed_gems_repository.cc24
1 files changed, 12 insertions, 12 deletions
diff --git a/paludis/repositories/gems/installed_gems_repository.cc b/paludis/repositories/gems/installed_gems_repository.cc
index 7b86b21..ec361e0 100644
--- a/paludis/repositories/gems/installed_gems_repository.cc
+++ b/paludis/repositories/gems/installed_gems_repository.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2007, 2008, 2009 Ciaran McCreesh
+ * Copyright (c) 2007, 2008, 2009, 2010 Ciaran McCreesh
*
* 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
@@ -97,12 +97,12 @@ InstalledGemsRepository::InstalledGemsRepository(const gems::InstalledRepository
Repository(params.environment(),
RepositoryName("installed-gems"),
make_named_values<RepositoryCapabilities>(
- value_for<n::destination_interface>(this),
- value_for<n::environment_variable_interface>(static_cast<RepositoryEnvironmentVariableInterface *>(0)),
- value_for<n::make_virtuals_interface>(static_cast<RepositoryMakeVirtualsInterface *>(0)),
- value_for<n::manifest_interface>(static_cast<RepositoryManifestInterface *>(0)),
- value_for<n::provides_interface>(static_cast<RepositoryProvidesInterface *>(0)),
- value_for<n::virtuals_interface>(static_cast<RepositoryVirtualsInterface *>(0))
+ n::destination_interface() = this,
+ n::environment_variable_interface() = static_cast<RepositoryEnvironmentVariableInterface *>(0),
+ n::make_virtuals_interface() = static_cast<RepositoryMakeVirtualsInterface *>(0),
+ n::manifest_interface() = static_cast<RepositoryManifestInterface *>(0),
+ n::provides_interface() = static_cast<RepositoryProvidesInterface *>(0),
+ n::virtuals_interface() = static_cast<RepositoryVirtualsInterface *>(0)
)),
PrivateImplementationPattern<InstalledGemsRepository>(new Implementation<InstalledGemsRepository>(params)),
_imp(PrivateImplementationPattern<InstalledGemsRepository>::_imp)
@@ -412,10 +412,10 @@ InstalledGemsRepository::repository_factory_create(
root = "/";
return make_shared_ptr(new InstalledGemsRepository(make_named_values<gems::InstalledRepositoryParams>(
- value_for<n::builddir>(builddir),
- value_for<n::environment>(env),
- value_for<n::install_dir>(install_dir),
- value_for<n::root>(root)
+ n::builddir() = builddir,
+ n::environment() = env,
+ n::install_dir() = install_dir,
+ n::root() = root
)));
}
@@ -428,7 +428,7 @@ InstalledGemsRepository::populate_sets() const
HookResult
InstalledGemsRepository::perform_hook(const Hook &)
{
- return make_named_values<HookResult>(value_for<n::max_exit_status>(0), value_for<n::output>(""));
+ return make_named_values<HookResult>(n::max_exit_status() = 0, n::output() = "");
}
bool