diff --git a/GUI/View/Fit/MinimizerSettingsWidget.h b/GUI/View/Fit/MinimizerSettingsWidget.h
index 3dd9252c9fa425ea33dd3a6f6b1fd84f3f24677f..b1ff0ede2e3d39119df8f34378e285f44fbe6ae1 100644
--- a/GUI/View/Fit/MinimizerSettingsWidget.h
+++ b/GUI/View/Fit/MinimizerSettingsWidget.h
@@ -26,8 +26,6 @@ class DoubleDescriptor;
 class UIntDescriptor;
 class QFormLayout;
 
-using std::function;
-
 //! The MinimizerSettingsWidget contains editor for all minimizer settings and related fit
 //! options. Part of FitSuiteWidget.
 
@@ -51,7 +49,7 @@ private:
     MinimizerContainerItem* m_currentItem;
     QFormLayout* m_mainLayout;
     QFormLayout* m_minimizerLayout;
-    QList<function<void()>> m_updaters;
+    QList<std::function<void()>> m_updaters;
 };
 
 #endif // BORNAGAIN_GUI_VIEW_FIT_MINIMIZERSETTINGSWIDGET_H