From b96453a32e215ac37fa4a2eeef9da16876a89e8c Mon Sep 17 00:00:00 2001
From: Andre Sailer <andre.philippe.sailer@cern.ch>
Date: Fri, 2 Oct 2015 09:09:35 +0000
Subject: [PATCH] output the string and not the stringstream object

---
 DDG4/plugins/Geant4SDActions.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/DDG4/plugins/Geant4SDActions.cpp b/DDG4/plugins/Geant4SDActions.cpp
index fcb427b2f..2b76038da 100644
--- a/DDG4/plugins/Geant4SDActions.cpp
+++ b/DDG4/plugins/Geant4SDActions.cpp
@@ -219,7 +219,7 @@ namespace DD4hep {
             << " Post (" <<std::setw(24) << step->GetPostStepPoint()->GetMomentum() << ") "
             << std::endl;
 
-        std::cout << out;
+        std::cout << out.str();
 
         return true;
       }
-- 
GitLab