mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 18:25:05 +08:00
Correct handling unique_ptr in functions
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f305e38b32
commit
28b37aea72
@@ -139,7 +139,7 @@ TEST(CompilerInterface, WhenInitializeIsCalledThenFailIfOneOfRequiredCompilersIs
|
||||
|
||||
TEST(CompilerInterfaceCreateInstance, WhenInitializeFailedThenReturnNull) {
|
||||
struct FailInitializeCompilerInterface : CompilerInterface {
|
||||
bool initialize(std::unique_ptr<CompilerCache> cache, bool requireFcl) override {
|
||||
bool initialize(std::unique_ptr<CompilerCache> &&cache, bool requireFcl) override {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user