From 7f86963c207cc2097c00a4aef67afb503b7d7971 Mon Sep 17 00:00:00 2001
From: Frank Gaede <frank.gaede@desy.de>
Date: Tue, 1 Jul 2014 11:25:07 +0000
Subject: [PATCH]  - fix for clang compiler ( made ContextUpdate public in
 Geant4Action)

---
 DDG4/include/DDG4/Geant4Action.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/DDG4/include/DDG4/Geant4Action.h b/DDG4/include/DDG4/Geant4Action.h
index f3b74efc5..172395aff 100644
--- a/DDG4/include/DDG4/Geant4Action.h
+++ b/DDG4/include/DDG4/Geant4Action.h
@@ -141,6 +141,9 @@ namespace DD4hep {
       /// Reference count. Initial value: 1
       long m_refCount;
 
+      //fg: ContextUpdate needs to be public for the clang compiler
+      //    as it is used in SequenceHdl::setContextToClients()  
+    public:
       /// Functor to update the context of a Geant4Action object
       /**
        * @author  M.Frank
@@ -156,6 +159,8 @@ namespace DD4hep {
 	void operator()(Geant4Action* action)  const;
       };
       friend class ContextUpdate;
+    protected:
+
       /// Actor class to manipulate action groups
       /**
        * @author  M.Frank
-- 
GitLab