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:
Maciej Bielski 2025-04-15 11:28:46 +00:00 committed by Compute-Runtime-Automation
parent f7939735da
commit bf68fed199
1 changed files with 1 additions and 1 deletions

View File

@ -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};