mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-06 02:07:07 +00:00
chore: Enable clang-tidy bugprone-move-forwarding-reference check (#6457)
This commit is contained in:
@@ -556,7 +556,7 @@ struct MultiApiJson_test : beast::unit_test::suite
|
||||
static_assert([](auto&& v) {
|
||||
return !requires {
|
||||
v.visitor(
|
||||
std::move(v), // cannot bind rvalue
|
||||
decltype(v){}, // cannot bind rvalue
|
||||
1,
|
||||
[](Json::Value&, auto) {});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user