Skip to content

Commit c6f5756

Browse files
committed
Compile error for isEmpty()
1 parent 9e4af7e commit c6f5756

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/FileSystems/Registry.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,10 @@ class Registry {
227227
return *p_fs;
228228
}
229229
}
230-
if (file_systems.isEmpty(){
231-
FS_LOGE("fileSystem: No filesystem for %s", path);
230+
if (!file_systems.empty()){
231+
FS_LOGE("No filesystem for %s", path);
232+
} else {
233+
FS_LOGD("No filesystems available");
232234
}
233235
return NoFileSystem;
234236
}

0 commit comments

Comments
 (0)