Skip to content

Commit

Permalink
platform: add missing explicit on constructor.
Browse files Browse the repository at this point in the history
The spec has an explicit for the construct from cl context case
  • Loading branch information
airlied committed Jun 28, 2018
1 parent aa77730 commit ff31298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/CL/sycl/platform.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class platform
Retain a reference to the OpenCL platform.
*/
platform(cl_platform_id platform_id)
explicit platform(cl_platform_id platform_id)
: platform { boost::compute::platform { platform_id } } {}


Expand Down

0 comments on commit ff31298

Please sign in to comment.