Skip to content

Commit f594560

Browse files
Remove const & from static cast
1 parent d94d56e commit f594560

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

oneapi-rs-sys/src/kernel-bundle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ build(std::unique_ptr<SourceKernelBundle> &source) {
2727
std::unique_ptr<Kernel>
2828
get_kernel(std::unique_ptr<ExecutableKernelBundle> &bundle, rust::Str name) {
2929
return std::make_unique<Kernel>(
30-
bundle->ext_oneapi_get_kernel(static_cast<std::string const &>(name)));
30+
bundle->ext_oneapi_get_kernel(static_cast<std::string>(name)));
3131
}
3232
} // namespace sycl_shims::kernel_bundle

0 commit comments

Comments
 (0)