aboutsummaryrefslogtreecommitdiff
path: root/paludis/python_hooks.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/python_hooks.cc')
-rw-r--r--paludis/python_hooks.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/python_hooks.cc b/paludis/python_hooks.cc
index 8f98ea4b7..328671b98 100644
--- a/paludis/python_hooks.cc
+++ b/paludis/python_hooks.cc
@@ -440,5 +440,5 @@ PyHookFile::_get_traceback() const
std::shared_ptr<HookFile>
create_py_hook_file(const FSEntry & f, const bool b, const Environment * const e)
{
- return std::shared_ptr<HookFile>(new PyHookFile(f, b, e));
+ return std::shared_ptr<HookFile>(std::make_shared<PyHookFile>(f, b, e));
}