mirror of
https://github.com/pybind/pybind11.git
synced 2026-06-04 13:34:24 +08:00
style: clang-tidy: default checks and fix bug in iostream deconstruction
```
/pybind11/include/pybind11/iostream.h:71:9: warning: Call to virtual method 'pythonbuf::sync' during destruction bypasses virtual dispatch [clang-analyzer-optin.cplusplus.VirtualCall]
sync();
^
/pybind11/tests/test_iostream.cpp:72:5: note: Calling '~scoped_ostream_redirect'
});
```
This commit is contained in:
committed by
Henry Schreiner
parent
4d78640830
commit
e7bafc8ec1
@@ -1,7 +1,6 @@
|
||||
FormatStyle: file
|
||||
|
||||
Checks: '
|
||||
-*,
|
||||
llvm-namespace-comment,
|
||||
modernize-use-override,
|
||||
readability-container-size-empty,
|
||||
|
||||
Reference in New Issue
Block a user