java/Ref: add nullptr constructor

This commit is contained in:
Max Kellermann 2021-03-28 13:21:41 +02:00 committed by Max Kellermann
parent 2d95ac2e94
commit c33f206ce8

View File

@ -49,6 +49,7 @@ class LocalRef {
public:
LocalRef() noexcept = default;
LocalRef(std::nullptr_t) noexcept {}
/**
* The local reference is obtained by the caller. May