Skip to content

Commit f8d597a

Browse files
authored
Merge pull request #220 from Xilinx/rogarcia.fix_windows_build
Explicitly store string to avoid compiler error
2 parents f713706 + 0d324c6 commit f8d597a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Tools/PDLL/Parser/Lexer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ LogicalResult Lexer::pushInclude(StringRef filename, SMRange includeLoc) {
122122
return failure();
123123
}
124124

125-
canonicalIncludeFileStack.push_back(canonicalPath);
125+
canonicalIncludeFileStack.push_back(canonicalPath.string());
126126
curBufferID = bufferID;
127127
curBuffer = srcMgr.getMemoryBuffer(curBufferID)->getBuffer();
128128
curPtr = curBuffer.begin();

0 commit comments

Comments
 (0)