mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-24 07:59:01 +00:00
events: Remove unused BufferAction::Setup parameter (#1586)
`BufferAction::Setup` has an additional parameter `allocate` which hides the virtual function `Action::Setup`. The additional parameter was unused anyway, so remove it. Fixes a -Woverloaded-virtual warning. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com> Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
committed by
GitHub
parent
f48dd72da8
commit
fb949f9256
@@ -72,7 +72,7 @@ public:
|
||||
virtual ~BufferAction() { free(mOutBuffer); }
|
||||
|
||||
virtual cl_int Setup(cl_device_id device, cl_context context,
|
||||
cl_command_queue queue, bool allocate);
|
||||
cl_command_queue queue);
|
||||
};
|
||||
|
||||
class ReadBufferAction : public BufferAction {
|
||||
|
||||
Reference in New Issue
Block a user