diff --git a/src/java/Ref.hxx b/src/java/Ref.hxx index 571e90898..40e415497 100644 --- a/src/java/Ref.hxx +++ b/src/java/Ref.hxx @@ -49,6 +49,7 @@ class LocalRef { public: LocalRef() noexcept = default; + LocalRef(std::nullptr_t) noexcept {} /** * The local reference is obtained by the caller. May