Skip to content

Commit 8f0a8fb

Browse files
committed
Switch to parentheses to avoid confusion with the initializer list constructor.
Signed-off-by: Dmitri Mokhov <[email protected]>
1 parent 21ca091 commit 8f0a8fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opencl-aot/source/utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ getOpenCLPlatform(DeviceType Type) {
187187
CLErr);
188188
}
189189

190-
std::vector<cl_platform_id> Platforms{PlatformsCount};
190+
std::vector<cl_platform_id> Platforms(PlatformsCount);
191191
CLErr = clGetPlatformIDs(PlatformsCount, Platforms.data(), nullptr);
192192
if (clFailed(CLErr)) {
193193
return std::make_tuple(

0 commit comments

Comments
 (0)