mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Fix -Woverloaded-virtual warnings (#1599)
Align `verify_data` with `checker_image_mem_host_read_only.hpp`, that is, take an explicit pointer to compare against. Add a missing (but unused) `float` parameter to `KernelArgSampler::compare`. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
committed by
GitHub
parent
9eec8f3352
commit
2cc8e2e593
@@ -232,7 +232,7 @@ public:
|
||||
return &m_samplerObj;
|
||||
}
|
||||
|
||||
bool compare( const KernelArg& rhs ) const
|
||||
bool compare(const KernelArg& rhs, float) const
|
||||
{
|
||||
if (const KernelArgSampler *Rhs = dynamic_cast<const KernelArgSampler*>(&rhs))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user