java/String: add const
This commit is contained in:
parent
95d5efbfe6
commit
ee86434a89
@ -67,7 +67,7 @@ public:
|
||||
* nullptr on error
|
||||
*/
|
||||
char *CopyTo(JNIEnv *env,
|
||||
char *buffer, size_t max_size) noexcept {
|
||||
char *buffer, size_t max_size) const noexcept {
|
||||
return CopyTo(env, Get(), buffer, max_size);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user