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:
Sven van Haastregt
2022-12-13 17:53:11 +00:00
committed by GitHub
parent f48dd72da8
commit fb949f9256
2 changed files with 6 additions and 6 deletions

View File

@@ -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 {