Cleanup: Use lambda instead of function bind
More detailed explanation why it is a preferred way of coding nowadays can be found at https://clang.llvm.org/extra/clang-tidy/checks/modernize-avoid-bind.html Resolves modernize-avoid-bind Clang-Tidy warning. Differential Revision: https://developer.blender.org/D10320
This commit is contained in:
@@ -40,7 +40,6 @@ Checks: >
|
||||
-modernize-loop-convert,
|
||||
-modernize-pass-by-value,
|
||||
-modernize-raw-string-literal,
|
||||
-modernize-avoid-bind,
|
||||
|
||||
WarningsAsErrors: '*'
|
||||
CheckOptions:
|
||||
|
||||
Reference in New Issue
Block a user