quench some warnings in operators.h

This commit is contained in:
Wenzel Jakob 2016-02-16 13:36:04 +01:00
parent 0880294924
commit f8584b630b
1 changed files with 4 additions and 0 deletions

View File

@ -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)