mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-11 08:03:55 +00:00
quench some warnings in operators.h
This commit is contained in:
parent
0880294924
commit
f8584b630b
@ -12,6 +12,10 @@
|
||||
#include "pybind11.h"
|
||||
#include <type_traits>
|
||||
|
||||
#if defined(__clang__)
|
||||
# pragma clang diagnostic ignored "-Wunsequenced" // multiple unsequenced modifications to 'self' (when using def(py::self OP Type()))
|
||||
#endif
|
||||
|
||||
NAMESPACE_BEGIN(pybind11)
|
||||
NAMESPACE_BEGIN(detail)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user