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
@@ -39,10 +39,10 @@ public:
virtual bool stream(buffer& a_buffer) {
uint32 startpos = a_buffer.length();
short v;
unsigned int s,c;
if(!a_buffer.read_version(v,s,c)) return false;
a_buffer.set_offset(startpos+c+sizeof(unsigned int));
if(!a_buffer.check_byte_count(s,c,s_store_class())) return false;
unsigned int _s,_c;
if(!a_buffer.read_version(v,_s,_c)) return false;
a_buffer.set_offset(startpos+_c+sizeof(unsigned int));
if(!a_buffer.check_byte_count(_s,_c,s_store_class())) return false;
return true;
}
public: