We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 116cb3b + 482bd55 commit f3caaa1Copy full SHA for f3caaa1
dpctl/apis/include/dpctl4pybind11.hpp
@@ -181,7 +181,7 @@ class dpctl_capi
181
182
static auto &get()
183
{
184
- static dpctl_capi api = lookup();
+ static dpctl_capi api{};
185
return api;
186
}
187
@@ -404,12 +404,6 @@ class dpctl_capi
404
dpctl_capi &operator=(dpctl_capi const &) = default;
405
dpctl_capi &operator=(dpctl_capi &&) = default;
406
407
- static dpctl_capi &lookup()
408
- {
409
- static dpctl_capi api;
410
- return api;
411
- }
412
-
413
}; // struct dpctl_capi
414
} // namespace detail
415
} // namespace dpctl
0 commit comments