From 8ea31eedc0e36c672a3e886744005fe5db0c59ca Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sun, 24 Nov 2019 22:21:05 -0500 Subject: [PATCH] Add comment --- contrib/python-bindings/source/export_point.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/python-bindings/source/export_point.cc b/contrib/python-bindings/source/export_point.cc index 029091abf4..b700247d01 100644 --- a/contrib/python-bindings/source/export_point.cc +++ b/contrib/python-bindings/source/export_point.cc @@ -20,6 +20,8 @@ #include +// clang complains about explicitly assigning boost::python::self to itself +// below. However, this is the correct way to define the python bindings. #ifdef __clang__ # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wself-assign-overloaded" -- 2.39.5