[ 116s] /home/abuild/rpmbuild/BUILD/libzypp-bindings-0.7.4/build/swig/python/libzypp_python.cc:149336:36: error: no matching function for call to 'zypp::ResPool::EstablishedStates::EstablishedStates()'
[ 116s] 149336 | zypp::ResPool::EstablishedStates result;
Change-Id: Id1ac6f91630384f4b5c3d9201a1fae90b9278b60
/** Severity string mapped to an enum.
* Unknown string values are mapped to \ref SEV_OTHER
*/
+diff --git a/zypp/ResPool.h b/zypp/ResPool.h
+index 88b1844f6..b3adf33a9 100644
+--- a/zypp/ResPool.h
++++ b/zypp/ResPool.h
+@@ -335,7 +335,9 @@ namespace zypp
+ * content changes. User code usually want's to call \ref changedPseudoInstalled
+ * directly.
+ */
++#ifndef SWIG // Swig treats it as syntax error
+ EstablishedStates establishedStates() const;
++#endif
+
+ /** Map holding pseudo installed items where current and established status differ. */
+ typedef EstablishedStates::ChangedPseudoInstalled ChangedPseudoInstalled;