fix: add noexcept to move operators

Without it, copy operator is selected, even if move is explicitly defined.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2025-06-05 13:28:04 +00:00
committed by Compute-Runtime-Automation
parent e030086cf2
commit 6a7f6f1ad6
17 changed files with 23 additions and 23 deletions

View File

@@ -32,7 +32,7 @@ ISAPool::ISAPool(Device *device, bool isBuiltin, size_t storageSize)
this->stackVec.push_back(graphicsAllocation);
}
ISAPool::ISAPool(ISAPool &&pool) : BaseType(std::move(pool)) {
ISAPool::ISAPool(ISAPool &&pool) noexcept : BaseType(std::move(pool)) {
this->isBuiltin = pool.isBuiltin;
mtx.reset(pool.mtx.release());
this->stackVec = std::move(pool.stackVec);