Import Geant4 11.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2025-12-05 08:54:02 +01:00
parent a499fb82e9
commit b4a16de652
6484 changed files with 232674 additions and 221097 deletions
@@ -109,9 +109,9 @@ class String
LUPI_HOST_DEVICE size_type capacity() const { return allocated_-1; }
// 8 byte alligned size
LUPI_HOST_DEVICE long internalSize() const {
long delta = allocated_;
long sub = delta % 8;
LUPI_HOST_DEVICE size_t internalSize() const {
size_t delta = allocated_;
size_t sub = delta % 8;
if (sub != 0) delta += (8-sub);
return delta * sizeof(char);
}