Skip to content

Commit 868c99f

Browse files
committed
Intermediate changes
commit_hash:c1fab6bbd7e2dc0d2e8109ed89f72bc6c52c1e8b
1 parent 4893a62 commit 868c99f

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--- contrib/libs/fmt/include/fmt/args.h (b92e22f2baa7a4b746902dd4641a3025ca1f424f)
2+
+++ contrib/libs/fmt/include/fmt/args.h (working tree)
3+
@@ -51,6 +51,7 @@ class dynamic_arg_list {
4+
5+
public:
6+
template <typename T, typename Arg> const T& push(const Arg& arg) {
7+
+ // NOLINTNEXTLINE(clang-analyzer-cplusplus.NewDeleteLeaks)
8+
auto new_node = std::unique_ptr<typed_node<T>>(new typed_node<T>(arg));
9+
auto& value = new_node->value;
10+
new_node->next = std::move(head_);
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--- contrib/restricted/boost/iostreams/include/boost/iostreams/chain.hpp (b92e22f2baa7a4b746902dd4641a3025ca1f424f)
2+
+++ contrib/restricted/boost/iostreams/include/boost/iostreams/chain.hpp (working tree)
3+
@@ -250,6 +250,7 @@ private:
4+
5+
#else
6+
7+
+ // NOLINTNEXTLINE(clang-analyzer-cplusplus.NewDeleteLeaks)
8+
std::unique_ptr<streambuf_t>
9+
buf(new streambuf_t(t, buffer_size, pback_size));
10+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- contrib/restricted/thrift/thrift/transport/TFDTransport.cpp (b92e22f2baa7a4b746902dd4641a3025ca1f424f)
2+
+++ contrib/restricted/thrift/thrift/transport/TFDTransport.cpp (working tree)
3+
@@ -46,7 +46,7 @@ void TFDTransport::close() {
4+
int errno_copy = THRIFT_ERRNO;
5+
fd_ = -1;
6+
// Have to check uncaught_exception because this is called in the destructor.
7+
- if (rv < 0 && !std::uncaught_exception()) {
8+
+ if (rv < 0 && !std::uncaught_exceptions()) {
9+
throw TTransportException(TTransportException::UNKNOWN, "TFDTransport::close()", errno_copy);
10+
}
11+
}

0 commit comments

Comments
 (0)