Skip to content

Commit 9bc7fea

Browse files
authored
Update plugin.hpp
1 parent 1f91343 commit 9bc7fea

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sycl/source/detail/plugin.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,10 @@ class plugin {
5858

5959
void reportPiError(RT::PiResult pi_result, string_class api_name) const {
6060
if (pi_result != PI_SUCCESS) {
61-
throw cl::sycl::runtime_error(api_name + " API failed with error: " +
62-
cl::sycl::detail::codeToString(pi_result), pi_result);
61+
throw cl::sycl::runtime_error(
62+
api_name + " API failed with error: " +
63+
cl::sycl::detail::codeToString(pi_result),
64+
pi_result);
6365
}
6466
}
6567

0 commit comments

Comments
 (0)