Skip to content

Commit

Permalink
Add missing header
Browse files Browse the repository at this point in the history
Try to fix GCC error
  • Loading branch information
Blake-Madden committed Aug 18, 2024
1 parent 379e38e commit 50df8b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/analyze.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@

#include "analyze.h"
#include <iostream>
#include <sstream>

namespace i18n_check
{
//------------------------------------------------------
bool valid_utf8_file(const std::wstring& file_name, bool& startsWithBom)
{
startsWithBom = false;
std::wifstream ifs(file_name);
std::wifstream ifs(file_name.c_str());
if (!ifs)
{
return false;
Expand Down

0 comments on commit 50df8b7

Please sign in to comment.