Update to latest CreatureLib
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-08-16 11:12:04 +02:00
parent d9badefb07
commit b5a1d74bdb
9 changed files with 16 additions and 13 deletions

View File

@@ -30,7 +30,7 @@ public:
_capacity += MEM_STEPS;
auto newLoc = realloc(_out, _capacity * sizeof(uint8_t));
if (newLoc == nullptr) {
throw CreatureException("Out of memory.");
throw ArbUt::Exception("Out of memory.");
}
_out = (uint8_t*)newLoc;
}