From c33f206ce8d0a0653ef47fcad4b6246d842e2a11 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 28 Mar 2021 13:21:41 +0200 Subject: [PATCH] java/Ref: add nullptr constructor --- src/java/Ref.hxx | 1 + 1 file changed, 1 insertion(+) 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