style: skip redundant unique_ptr::get function

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-05-09 16:21:21 +00:00
committed by Compute-Runtime-Automation
parent d18e89e439
commit 943ad0e1eb
51 changed files with 188 additions and 188 deletions

View File

@@ -105,7 +105,7 @@ class MockMemoryManager : public MemoryManagerCreate<OsAgnosticMemoryManager> {
void waitForEnginesCompletion(GraphicsAllocation &graphicsAllocation) override {
waitForEnginesCompletionCalled++;
if (waitAllocations.get()) {
waitAllocations.get()->addAllocation(&graphicsAllocation);
waitAllocations->addAllocation(&graphicsAllocation);
}
MemoryManager::waitForEnginesCompletion(graphicsAllocation);
}