From 2af93919e13f5e87758dd3b820f2a3771387fe26 Mon Sep 17 00:00:00 2001 From: Joey Kleingers Date: Fri, 20 Sep 2024 08:55:36 -0400 Subject: [PATCH] Fix Windows crash. Signed-off-by: Joey Kleingers --- .../SimplnxCore/src/SimplnxCore/Filters/ReadCSVFileFilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ReadCSVFileFilter.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ReadCSVFileFilter.cpp index b7df830cf1..06f65f1ed5 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ReadCSVFileFilter.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ReadCSVFileFilter.cpp @@ -329,7 +329,7 @@ Result<> cacheHeaders(const ReadCSVData& readCsvData) std::fstream in(readCsvData.inputFilePath.c_str(), std::ios_base::in); if(!in.is_open()) { - return {MakeErrorResult(to_underlying(IssueCodes::FILE_NOT_OPEN), fmt::format("Could not open file for reading: {}", readCsvData.inputFilePath)), {}}; + return MakeErrorResult(to_underlying(IssueCodes::FILE_NOT_OPEN), fmt::format("Could not open file for reading: {}", readCsvData.inputFilePath)); } usize currentLine = 0;