Import Geant4 5.2.0 source tree
This commit is contained in:
@@ -23,7 +23,8 @@
|
||||
// Satoshi Tanaka 31th May 2001
|
||||
// A scene handler to dump geometry hierarchy to GAG.
|
||||
|
||||
#include "g4std/strstream"
|
||||
#include "G4Types.hh"
|
||||
#include <strstream>
|
||||
|
||||
#include "G4GAGTreeSceneHandler.hh"
|
||||
|
||||
@@ -129,7 +130,7 @@ void G4GAGTreeSceneHandler::EndModeling ()
|
||||
G4VTreeSceneHandler::EndModeling ();
|
||||
}
|
||||
|
||||
void G4GAGTreeSceneHandler::RequestPrimitives (const G4VSolid& solid)
|
||||
void G4GAGTreeSceneHandler::RequestPrimitives (const G4VSolid&)
|
||||
{
|
||||
//////////////////////////////
|
||||
G4String cur_abs_pv_name ;
|
||||
@@ -157,7 +158,7 @@ void G4GAGTreeSceneHandler::RequestPrimitives (const G4VSolid& solid)
|
||||
// Step 1: Initialize the extension
|
||||
const int CHAR_LENGTH = 1024;
|
||||
char pv_ext [CHAR_LENGTH]; pv_ext[0] = '\0';
|
||||
G4std::ostrstream ost (pv_ext, CHAR_LENGTH);
|
||||
std::ostrstream ost (pv_ext, CHAR_LENGTH);
|
||||
|
||||
// Step 2: Generate the extension
|
||||
// copy number
|
||||
|
||||
Reference in New Issue
Block a user