-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Transformations] Fix warning: implicit capture of ‘this’ via ‘[=]’ #23169
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
the
category: transformations
OpenVINO Runtime library - Transformations
label
Feb 29, 2024
CuriousPanCake
added
category: Core
OpenVINO Core (aka ngraph)
category: CPU
OpenVINO CPU plugin
category: LP transformations
OpenVINO Low Precision transformations
labels
Feb 29, 2024
CuriousPanCake
force-pushed
the
CVS_132688
branch
from
March 1, 2024 08:59
1bc5ade
to
26d8976
Compare
github-actions
bot
removed
category: Core
OpenVINO Core (aka ngraph)
category: CPU
OpenVINO CPU plugin
category: LP transformations
OpenVINO Low Precision transformations
labels
Mar 1, 2024
CuriousPanCake
force-pushed
the
CVS_132688
branch
2 times, most recently
from
March 1, 2024 09:11
d057fb8
to
be2d7e6
Compare
praasz
reviewed
Mar 4, 2024
src/common/transformations/include/transformations/utils/utils.hpp
Outdated
Show resolved
Hide resolved
praasz
reviewed
Mar 4, 2024
src/common/transformations/include/transformations/utils/utils.hpp
Outdated
Show resolved
Hide resolved
CuriousPanCake
force-pushed
the
CVS_132688
branch
from
March 4, 2024 11:45
be2d7e6
to
46ecb06
Compare
Changed |
CuriousPanCake
force-pushed
the
CVS_132688
branch
from
March 4, 2024 11:48
46ecb06
to
7f1ca03
Compare
CuriousPanCake
force-pushed
the
CVS_132688
branch
4 times, most recently
from
March 4, 2024 13:08
68f361b
to
105e235
Compare
praasz
reviewed
Mar 5, 2024
src/common/transformations/include/transformations/utils/utils.hpp
Outdated
Show resolved
Hide resolved
praasz
approved these changes
Mar 5, 2024
CuriousPanCake
force-pushed
the
CVS_132688
branch
from
March 5, 2024 10:49
105e235
to
7bde25a
Compare
Details: Implicit capture of 'this' for lambdas is deprecated since C++20. Fix it by adding a special macro OV_CAPTURE_CPY_AND_THIS which expands into '=' or '=, this' depending on a C++ standard used. Note: Although C++20 identifier is 202002L, some compilers supporting C++20, or its drafts like C++2a, producing the warning, are using 201402L value. Also, MSVC requires a special check due to the __cplusplus value compatibility issues. Ticket: CVS-132688 Signed-off-by: Andrii Staikov [email protected]
CuriousPanCake
force-pushed
the
CVS_132688
branch
from
March 5, 2024 12:05
7bde25a
to
32979d1
Compare
itikhono
approved these changes
Mar 5, 2024
Pranshu-S
pushed a commit
to Pranshu-S/openvino
that referenced
this pull request
Mar 7, 2024
…penvinotoolkit#23169) [Transformations] Fix warning: implicit capture of ‘this’ via ‘[=]’ Details: Implicit capture of 'this' for lambdas is deprecated since C++20. Fix it by adding a special macro OV_CAPTURE_CPY_AND_THIS which expands into '=' or '=, this' depending on a C++ standard used. Note: Although C++20 identifier is 202002L, some compilers supporting C++20, or its drafts like C++2a, producing the warning, are using 201402L value. Also, MSVC requires a special check due to the __cplusplus value compatibility issues. Ticket: CVS-132688 Signed-off-by: Andrii Staikov [email protected] Signed-off-by: Andrii Staikov [email protected]
alvoron
pushed a commit
to alvoron/openvino
that referenced
this pull request
Apr 29, 2024
…penvinotoolkit#23169) [Transformations] Fix warning: implicit capture of ‘this’ via ‘[=]’ Details: Implicit capture of 'this' for lambdas is deprecated since C++20. Fix it by adding a special macro OV_CAPTURE_CPY_AND_THIS which expands into '=' or '=, this' depending on a C++ standard used. Note: Although C++20 identifier is 202002L, some compilers supporting C++20, or its drafts like C++2a, producing the warning, are using 201402L value. Also, MSVC requires a special check due to the __cplusplus value compatibility issues. Ticket: CVS-132688 Signed-off-by: Andrii Staikov [email protected] Signed-off-by: Andrii Staikov [email protected]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[Transformations] Fix warning: implicit capture of ‘this’ via ‘[=]’
Details:
Implicit capture of 'this' for lambdas is deprecated since C++20. Fix it by adding a special macro OV_CAPTURE_CPY_AND_THIS which expands into '=' or '=, this' depending on a C++ standard used.
Note:
Although C++20 identifier is 202002L, some compilers supporting C++20, or its drafts like C++2a, producing the warning, are using 201402L value. Also, MSVC requires a special check due to the __cplusplus value compatibility issues.
Ticket: CVS-132688
Signed-off-by: Andrii Staikov [email protected]