Skip to content

Commit

Permalink
Fix Windows crash.
Browse files Browse the repository at this point in the history
Signed-off-by: Joey Kleingers <[email protected]>
  • Loading branch information
joeykleingers authored and imikejackson committed Sep 23, 2024
1 parent 03536b7 commit 2af9391
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2af9391

Please sign in to comment.