mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 16:24:18 +08:00
test: mark a function as override
Clang-tidy rule: `[modernize-use-override]` Related-To: NEO-14506 Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f7939735da
commit
bf68fed199
@@ -145,7 +145,7 @@ TEST(DrmTest, GivenValidSysfsNodeWhenGetDeviceMemoryMaxClockRateInMhzIsCalledThe
|
||||
struct MockIoctlHelperForSmallBar : public IoctlHelperUpstream {
|
||||
using IoctlHelperUpstream::IoctlHelperUpstream;
|
||||
|
||||
std::unique_ptr<MemoryInfo> createMemoryInfo() {
|
||||
std::unique_ptr<MemoryInfo> createMemoryInfo() override {
|
||||
auto memoryInfo{new MockMemoryInfo{drm}};
|
||||
memoryInfo->smallBarDetected = true;
|
||||
return std::unique_ptr<MemoryInfo>{memoryInfo};
|
||||
|
||||
Reference in New Issue
Block a user