mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
Add missing override keywords
Change-Id: I30c82d2b0007d745d54c3bbc160e17b420193f3b Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
e2dedd41f4
commit
0884a341c8
@@ -30,11 +30,7 @@ class ProgramFromSourceTest : public ContextFixture,
|
||||
using PlatformFixture::SetUp;
|
||||
|
||||
protected:
|
||||
ProgramFromSourceTest()
|
||||
: kbHelper(nullptr), SourceFileName(nullptr), KernelName(nullptr), retVal(CL_SUCCESS) {
|
||||
}
|
||||
|
||||
virtual void SetUp() {
|
||||
void SetUp() override {
|
||||
std::tie(SourceFileName, BinaryFileName, KernelName) = GetParam();
|
||||
kbHelper = new KernelBinaryHelper(BinaryFileName);
|
||||
|
||||
@@ -49,7 +45,7 @@ class ProgramFromSourceTest : public ContextFixture,
|
||||
SourceFileName);
|
||||
}
|
||||
|
||||
virtual void TearDown() {
|
||||
void TearDown() override {
|
||||
knownSource.reset();
|
||||
ProgramFixture::TearDown();
|
||||
ContextFixture::TearDown();
|
||||
@@ -57,10 +53,10 @@ class ProgramFromSourceTest : public ContextFixture,
|
||||
delete kbHelper;
|
||||
}
|
||||
|
||||
KernelBinaryHelper *kbHelper;
|
||||
const char *SourceFileName;
|
||||
const char *BinaryFileName;
|
||||
const char *KernelName;
|
||||
cl_int retVal;
|
||||
KernelBinaryHelper *kbHelper = nullptr;
|
||||
const char *SourceFileName = nullptr;
|
||||
const char *BinaryFileName = nullptr;
|
||||
const char *KernelName = nullptr;
|
||||
cl_int retVal = CL_SUCCESS;
|
||||
};
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user