Skip to content

Commit ff512a6

Browse files
Fix warning C4927: illegal conversion; more than one user-defined conversion has been implicitly applied
1 parent 867c6da commit ff512a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/source/detail/pipes.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ namespace intel {
2222
namespace experimental {
2323
__SYCL_EXPORT sycl::detail::string
2424
pipe_base::get_pipe_name_impl(const void *HostPipePtr) {
25-
return {sycl::_V1::detail::ProgramManager::getInstance()
25+
return {std::string_view{sycl::_V1::detail::ProgramManager::getInstance()
2626
.getHostPipeEntry(HostPipePtr)
27-
->MUniqueId};
27+
->MUniqueId}};
2828
}
2929

3030
__SYCL_EXPORT bool pipe_base::wait_non_blocking(const event &E) {

0 commit comments

Comments
 (0)