Skip to content

Commit

Permalink
fix(windows): build break on Visual Studio 16.9
Browse files Browse the repository at this point in the history
  • Loading branch information
tido64 committed Mar 15, 2021
1 parent 903e7fa commit dda4759
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ jobs:
steps:
- name: Set up MSBuild
uses: microsoft/[email protected]
- name: Setup VSTest.console.exe
- name: Set up VSTest.console.exe
uses: darenm/Setup-VSTest@v1
- name: Set up Node.js
uses: actions/setup-node@v1
Expand Down
2 changes: 1 addition & 1 deletion windows/ReactTestApp/Manifest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ namespace ReactTestApp
{
std::string json;
{
std::ifstream stream(filename);
std::ifstream stream(filename, std::ios::binary | std::ios::in);

stream.seekg(0, std::ios::end);
json.reserve(static_cast<size_t>(stream.tellg()));
Expand Down

0 comments on commit dda4759

Please sign in to comment.