aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/allowed_to_remove_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/resolver/allowed_to_remove_helper.cc')
-rw-r--r--paludis/resolver/allowed_to_remove_helper.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/paludis/resolver/allowed_to_remove_helper.cc b/paludis/resolver/allowed_to_remove_helper.cc
index 9272e749d..69c16383d 100644
--- a/paludis/resolver/allowed_to_remove_helper.cc
+++ b/paludis/resolver/allowed_to_remove_helper.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2010 Ciaran McCreesh
+ * Copyright (c) 2010, 2011 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
@@ -23,6 +23,7 @@
#include <paludis/resolver/resolvent.hh>
#include <paludis/resolver/resolution.hh>
#include <paludis/util/pimp-impl.hh>
+#include <paludis/util/make_null_shared_ptr.hh>
#include <paludis/dep_spec.hh>
#include <paludis/package_dep_spec_collection.hh>
@@ -38,7 +39,8 @@ namespace paludis
PackageDepSpecCollection allowed_to_remove_specs;
Imp(const Environment * const e) :
- env(e)
+ env(e),
+ allowed_to_remove_specs(make_null_shared_ptr())
{
}
};