Import Geant4 11.1.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2022-07-01 10:44:02 +02:00
parent b3bf75a2a1
commit c07cea1fe0
2172 changed files with 183300 additions and 123938 deletions
+4 -4
View File
@@ -12,15 +12,15 @@ namespace tools {
inline void out_error(std::ostream& a_out,
const char* location, const char* fmt,...) {
char s[1024];
char _s[1024];
va_list args;
va_start(args,fmt);
vsnpf(s,sizeof(s),fmt,args);
vsnpf(_s,sizeof(_s),fmt,args);
va_end(args);
if(location) {
a_out << location << " : " << s << std::endl;
a_out << location << " : " << _s << std::endl;
} else {
a_out << s << std::endl;
a_out << _s << std::endl;
}
}