Skip to content

Commit a6f1262

Browse files
committed
[FIX] fix tests
1 parent 4bacd84 commit a6f1262

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/ImGuiFileDialog/Test_FileManager.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include <cassert>
44

5-
#include <ImGuiFileDialog/ImGuiFileDialog.cpp>
5+
#include <ImGuiFileDialog/ImGuiFileDialog.cpp> // for let IGFD::FileManager find the FS on destroy
66

77
#include <imgui_internal.h>
88

@@ -25,10 +25,8 @@ class TestFileManager {
2525
private:
2626
FileDialogInternal fd;
2727
std::set<std::string> arr;
28-
std::unique_ptr<IFileSystem> m_FileSystemPtr = std::make_unique<FILE_SYSTEM_OVERRIDE>();
2928

3029
private:
31-
3230
void m_compute_name_array() {
3331
for (const auto& file_ptr : fd.fileManager.m_FileList) {
3432
if (file_ptr) {

0 commit comments

Comments
 (0)