[Java] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / src / main / java / org / ldk / structs / ParseOrSemanticError.java
index 8e0027379ef2b2942faafa6c90bf8d177594efa3..66fd0ed6777d4e09a3f5e2de41ae06098b79e252 100644 (file)
@@ -103,7 +103,7 @@ public class ParseOrSemanticError extends CommonBase {
         * This ignores pointers and is_owned flags and looks at the values in fields.
         */
        public boolean eq(org.ldk.structs.ParseOrSemanticError b) {
-               boolean ret = bindings.ParseOrSemanticError_eq(this.ptr, b == null ? 0 : b.ptr);
+               boolean ret = bindings.ParseOrSemanticError_eq(this.ptr, b.ptr);
                Reference.reachabilityFence(this);
                Reference.reachabilityFence(b);
                return ret;