diff --git a/plugins/pyloader/src/python_cpu_policy_manager.cc b/plugins/pyloader/src/python_cpu_policy_manager.cc index 56f9aa5..7090d53 100644 --- a/plugins/pyloader/src/python_cpu_policy_manager.cc +++ b/plugins/pyloader/src/python_cpu_policy_manager.cc @@ -22,6 +22,8 @@ #include "global_preferences.hh" #include "cpu_policies_gatekeeper.hh" +#include "deletor.tcc" + #include #include #include @@ -67,7 +69,7 @@ PythonCPUPolicyManager::PythonCPUPolicyManager() PythonCPUPolicyManager::~PythonCPUPolicyManager() { - for_each(_policies.begin(), _policies.end(), ptr_fun(operator delete)); + for_each(_policies.begin(), _policies.end(), memory::deletor()); }