Skip to content

Commit b545531

Browse files
DinoVmeta-codesync[bot]
authored andcommitted
Fix match results for Windows
Summary: Windows doesn't like the mixing of cmatch w/ the iterators, so use the correct iterator type Reviewed By: alexmalyshev Differential Revision: D92345947 fbshipit-source-id: d8802ee1217cadabb816658adea9e8b09eae2ad9
1 parent ad0b92a commit b545531

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cinderx/Jit/lir/parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ void Parser::parseIndirect(
465465
uint8_t multiplier = 0;
466466
int32_t offset = 0;
467467

468-
std::cmatch m;
468+
std::match_results<std::string_view::const_iterator> m;
469469

470470
// keep track of length of parsed operand
471471
// start at 1 to account for the right bracket

0 commit comments

Comments
 (0)