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>
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>