diff --git a/Framework/PythonInterface/mantid/kernel/src/Exports/ConfigObserver.cpp b/Framework/PythonInterface/mantid/kernel/src/Exports/ConfigObserver.cpp index c8d4acaef7e86dee3064fda656d867c9c3131a5c..757eeff6a2148f4cb275317035126a61d4e021f6 100644 --- a/Framework/PythonInterface/mantid/kernel/src/Exports/ConfigObserver.cpp +++ b/Framework/PythonInterface/mantid/kernel/src/Exports/ConfigObserver.cpp @@ -12,14 +12,14 @@ using Mantid::PythonInterface::Environment::callMethod; class ConfigObserverWrapper : public ConfigObserver { public: - ConfigObserverWrapper(PyObject *self) - : m_self(self) {} + ConfigObserverWrapper(PyObject *self) : m_self(self) {} using ConfigObserver::notifyValueChanged; void onValueChanged(const std::string &name, const std::string &newValue, const std::string &prevValue) override { callMethod<void>(m_self, "onValueChanged", name, newValue, prevValue); } + private: PyObject *m_self; }; diff --git a/Framework/PythonInterface/mantid/kernel/src/Exports/ConfigPropertyObserver.cpp b/Framework/PythonInterface/mantid/kernel/src/Exports/ConfigPropertyObserver.cpp index a8a83b9197fc3e051a0093dc29f64df66f8f5244..2555d3afacff6e94f1fa113bd83ad25e5ad8e0f1 100644 --- a/Framework/PythonInterface/mantid/kernel/src/Exports/ConfigPropertyObserver.cpp +++ b/Framework/PythonInterface/mantid/kernel/src/Exports/ConfigPropertyObserver.cpp @@ -26,7 +26,8 @@ private: namespace boost { namespace python { -template <> struct has_back_reference<ConfigPropertyObserverWrapper> : mpl::true_ {}; +template <> +struct has_back_reference<ConfigPropertyObserverWrapper> : mpl::true_ {}; } }