mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-23 03:01:20 +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>
7.7 KiB
7.7 KiB