aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/accounts/accounts_repository.cc
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2013-06-20 18:43:09 -0700
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2013-06-23 11:59:55 -0700
commit3f2aca298c28e50745926a96758f4641dc73cf51 (patch)
tree88c7cbdcc9e6bb6e530849f71ca9df4055f6f418 /paludis/repositories/accounts/accounts_repository.cc
parentf5088a55a9c88793a53172b7029713f2f64e687a (diff)
downloadpaludis-3f2aca298c28e50745926a96758f4641dc73cf51.tar.gz
paludis-3f2aca298c28e50745926a96758f4641dc73cf51.tar.xz
C++11: auto convert to nullptr via cpp11-migrate
This is a blanket migration via the clang C++11 migration tool to convert NULL pointer to nullptr usage. Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
Diffstat (limited to 'paludis/repositories/accounts/accounts_repository.cc')
-rw-r--r--paludis/repositories/accounts/accounts_repository.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/paludis/repositories/accounts/accounts_repository.cc b/paludis/repositories/accounts/accounts_repository.cc
index e18db9d7c..b787987ec 100644
--- a/paludis/repositories/accounts/accounts_repository.cc
+++ b/paludis/repositories/accounts/accounts_repository.cc
@@ -108,9 +108,9 @@ AccountsRepository::AccountsRepository(const AccountsRepositoryParams & p) :
p.environment(),
p.name(),
make_named_values<RepositoryCapabilities>(
- n::destination_interface() = static_cast<RepositoryDestinationInterface *>(0),
- n::environment_variable_interface() = static_cast<RepositoryEnvironmentVariableInterface *>(0),
- n::manifest_interface() = static_cast<RepositoryManifestInterface *>(0)
+ n::destination_interface() = static_cast<RepositoryDestinationInterface *>(nullptr),
+ n::environment_variable_interface() = static_cast<RepositoryEnvironmentVariableInterface *>(nullptr),
+ n::manifest_interface() = static_cast<RepositoryManifestInterface *>(nullptr)
)),
_imp(p.name(), p)
{
@@ -123,8 +123,8 @@ AccountsRepository::AccountsRepository(const InstalledAccountsRepositoryParams &
p.name(),
make_named_values<RepositoryCapabilities>(
n::destination_interface() = this,
- n::environment_variable_interface() = static_cast<RepositoryEnvironmentVariableInterface *>(0),
- n::manifest_interface() = static_cast<RepositoryManifestInterface *>(0)
+ n::environment_variable_interface() = static_cast<RepositoryEnvironmentVariableInterface *>(nullptr),
+ n::manifest_interface() = static_cast<RepositoryManifestInterface *>(nullptr)
)),
_imp(p.name(), p)
{