Skip to content

Commit 1e1254c

Browse files
committed
[HIPIFY] Fix Linux build
Fix the error: ```c++ no matching conversion for functional-style cast from 'SmallString<128>' to 'std::__cxx11::string' (aka 'basic_string<char>') ```
1 parent 9687fbc commit 1e1254c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CUDA2HIP_Doc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ namespace doc {
134134
return false;
135135
}
136136
files.insert({ format, file });
137-
tmpFiles.insert({ format, string(tmpFile) });
137+
tmpFiles.insert({ format, tmpFile.str().str() });
138138
streams.insert(make_pair(format, unique_ptr<ostream>(new ofstream(tmpFile.c_str(), ios_base::trunc))));
139139
return true;
140140
}

0 commit comments

Comments
 (0)