Further Windows fixes.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-08-18 19:15:00 +02:00
parent 16b083d927
commit 5eb95805f6
4 changed files with 21 additions and 16 deletions

View File

@@ -25,7 +25,7 @@ namespace ArbUt {
inline reference At(size_t index) {
#ifndef NO_ASSERT
if (index >= _vector.size() || index < 0) {
if (index >= _vector.size()) {
std::stringstream ss;
ss << "Index " << index << " is out of bounds.";
throw ArbUt::Exception(ss.str());