aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/fmt/patches/01-clang-tidy-unique-ptr.patch
blob: 424e051e2c0566bd65be38257cccf406dc544967 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- contrib/libs/fmt/include/fmt/args.h	(b92e22f2baa7a4b746902dd4641a3025ca1f424f)
+++ contrib/libs/fmt/include/fmt/args.h	(working tree)
@@ -51,6 +51,7 @@ class dynamic_arg_list {
 
  public:
   template <typename T, typename Arg> const T& push(const Arg& arg) {
+    // NOLINTNEXTLINE(clang-analyzer-cplusplus.NewDeleteLeaks)
     auto new_node = std::unique_ptr<typed_node<T>>(new typed_node<T>(arg));
     auto& value = new_node->value;
     new_node->next = std::move(head_);