diff --git a/tiledb/sm/filesystem/posix.cc b/tiledb/sm/filesystem/posix.cc index 58b4f0ab1d5..4b8011f2510 100644 --- a/tiledb/sm/filesystem/posix.cc +++ b/tiledb/sm/filesystem/posix.cc @@ -311,7 +311,7 @@ tuple>> Posix::ls_with_sizes( struct dirent* next_path = nullptr; DIR* dir = opendir(path.c_str()); if (dir == nullptr) { - return {Status::Ok(), nullopt}; + return {Status::Ok(), std::vector{}}; } std::vector entries;