You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# pragma warning(disable: 4275) // warning C4275: An exported class was derived from a class that wasn't exported. Can be ignored when derived from a STL class.
325
+
#endif
322
326
/// Fetch and hold an error which was already set in Python. An instance of this is typically
323
327
/// thrown to propagate python-side errors back through C++ which can either be caught manually or
324
328
/// else falls back to the function dispatcher (which then raises the captured error back to
@@ -371,6 +375,9 @@ class PYBIND11_EXPORT error_already_set : public std::runtime_error {
371
375
private:
372
376
object m_type, m_value, m_trace;
373
377
};
378
+
#if defined(_MSC_VER)
379
+
# pragma warning(pop)
380
+
#endif
374
381
375
382
/** \defgroup python_builtins _
376
383
Unless stated otherwise, the following C++ functions behave the same
0 commit comments