mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

Discarding RAII lock returned from function almost always is a bug. This change introduces usage of [[no_discard]] attribute from C++17 to prevent such misues. Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>