diff --git a/Control/AthenaPython/AthenaPython/PyAthenaGILStateEnsure.h b/Control/AthenaPython/AthenaPython/PyAthenaGILStateEnsure.h
index f0ed996b390e5319216a11606262c90fcf9d46b6..01ec850db275faec6bde91069a2ee237355bd60f 100644
--- a/Control/AthenaPython/AthenaPython/PyAthenaGILStateEnsure.h
+++ b/Control/AthenaPython/AthenaPython/PyAthenaGILStateEnsure.h
@@ -1,7 +1,7 @@
 ///////////////////////// -*- C++ -*- /////////////////////////////
 
 /*
-  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
 */
 
 // PyAthenaGILStateEnsure.h 
@@ -33,8 +33,8 @@ class PyGILStateEnsure
 /////////////////////////////////////////////////////////////////// 
 
 inline PyGILStateEnsure::PyGILStateEnsure()
-{ 
-   m_gstate = PyGILState_Ensure();
+  : m_gstate (PyGILState_Ensure())
+{
 }
 
 inline PyGILStateEnsure::~PyGILStateEnsure()