From: Timo Heister Date: Thu, 30 Apr 2020 19:19:19 +0000 (-0400) Subject: nolint std::bind X-Git-Tag: v9.2.0-rc1~121^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54a9af7e6293be4569d58094be91764dc482d1ba;p=dealii.git nolint std::bind --- diff --git a/include/deal.II/base/thread_management.h b/include/deal.II/base/thread_management.h index f3a1a60667..817fe0520e 100644 --- a/include/deal.II/base/thread_management.h +++ b/include/deal.II/base/thread_management.h @@ -1117,6 +1117,7 @@ namespace Threads typename identity::type &c, typename identity::type... args) { + // NOLINTNEXTLINE(modernize-avoid-bind) silence clang-tidy return new_thread(std::function(std::bind( fun_ptr, std::ref(c), internal::maybe_make_ref::act(args)...))); } @@ -1133,6 +1134,7 @@ namespace Threads typename identity::type &c, typename identity::type... args) { + // NOLINTNEXTLINE(modernize-avoid-bind) silence clang-tidy return new_thread(std::function(std::bind( fun_ptr, std::cref(c), internal::maybe_make_ref::act(args)...))); } @@ -1753,6 +1755,7 @@ namespace Threads typename identity::type &c, typename identity::type... args) { + // NOLINTNEXTLINE(modernize-avoid-bind) silence clang-tidy return new_task(std::function(std::bind( fun_ptr, std::ref(c), internal::maybe_make_ref::act(args)...))); } @@ -1769,6 +1772,7 @@ namespace Threads typename identity::type &c, typename identity::type... args) { + // NOLINTNEXTLINE(modernize-avoid-bind) silence clang-tidy return new_task(std::function(std::bind( fun_ptr, std::cref(c), internal::maybe_make_ref::act(args)...))); }