GCC warnings (#1725)

This commit is contained in:
Alexander Bock
2021-08-21 11:42:44 +02:00
committed by GitHub
parent 2f32ddaf28
commit db472030de
42 changed files with 67 additions and 97 deletions

View File

@@ -134,8 +134,7 @@ RenderableSmallBody::RenderableSmallBody(const ghoul::Dictionary& dictionary)
}
if (dictionary.hasValue<bool>(ContiguousModeInfo.identifier)) {
_contiguousMode = static_cast<bool>(
dictionary.value<bool>(ContiguousModeInfo.identifier));
_contiguousMode = dictionary.value<bool>(ContiguousModeInfo.identifier);
}
else {
_contiguousMode = false;