mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
The `command_buffer` member is initialized with `this`, and should thus be initialized after all other members have been initialized, to avoid any potential uninitialized data accesses by `command_buffer`'s constructor. This is currently not a problem, but would become a problem when `command_buffer`'s constructor accesses the object through its parameter. Fixes a -Wreorder warning. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>