Fix issue with compiling on Debug

This commit is contained in:
Alexander Bock
2021-06-14 15:34:29 +02:00
parent 573ebe5ed5
commit 3272bc4ebc

View File

@@ -256,7 +256,10 @@ void RenderablePrism::updateVertexData() {
}
// Indices for Base shape
ghoul_assert(_nShapeSegments.value <= std::numeric_limit<uint8_t>::max(), "Too many shape segments")
ghoul_assert(
_nShapeSegments.value() <= std::numeric_limits<uint8_t>::max(),
"Too many shape segments"
);
for (uint8_t i = 0; i < _nShapeSegments; ++i) {
_indexArray.push_back(i);
}