Managers: invert an assert condition.
Somehow, it made the app crash _only_ in release mode, while debug was unaffected.
This commit is contained in:
parent
b8584f26bb
commit
03cbb7f8ae
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class VirtualFileSystem: public VfsDirectory<FileType> {
|
||||||
void build(Containers::ArrayView<FileType> files) {
|
void build(Containers::ArrayView<FileType> files) {
|
||||||
for(auto& file : files) {
|
for(auto& file : files) {
|
||||||
auto components = file.filename.split('/');
|
auto components = file.filename.split('/');
|
||||||
CORRADE_INTERNAL_ASSERT(components.size() == 0);
|
CORRADE_INTERNAL_ASSERT(components.size() != 0);
|
||||||
|
|
||||||
VfsDirectory<FileType>::buildNestedPath(*this, components, file);
|
VfsDirectory<FileType>::buildNestedPath(*this, components, file);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue