java/Ref: add nullptr constructor
This commit is contained in:

committed by
Max Kellermann

parent
2d95ac2e94
commit
c33f206ce8
@ -49,6 +49,7 @@ class LocalRef {
|
||||
|
||||
public:
|
||||
LocalRef() noexcept = default;
|
||||
LocalRef(std::nullptr_t) noexcept {}
|
||||
|
||||
/**
|
||||
* The local reference is obtained by the caller. May
|
||||
|
Reference in New Issue
Block a user