From 2ee421373f021f9e2052947917506a69c0b757ea Mon Sep 17 00:00:00 2001 From: nechda Date: Tue, 6 May 2025 18:42:39 +0300 Subject: [library] Fix -Wdeprecated-this-capture warning Fix for library commit_hash:4ffd5fad7dcb0fae1cd0597997304346d7ac8865 --- library/cpp/yson_pull/detail/macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library/cpp/yson_pull') diff --git a/library/cpp/yson_pull/detail/macros.h b/library/cpp/yson_pull/detail/macros.h index 7243f9cfe13..35f2ef1930e 100644 --- a/library/cpp/yson_pull/detail/macros.h +++ b/library/cpp/yson_pull/detail/macros.h @@ -16,7 +16,7 @@ (); #else // Clang does not support gnu-style attributes on lambda functions yet -#define COLD_BLOCK_BYVALUE [=]() { +#define COLD_BLOCK_BYVALUE [=, this]() { #define COLD_BLOCK_BYREF [&]() { #define COLD_BLOCK_END \ } \ -- cgit v1.3