Commit ee86434a authored by Max Kellermann's avatar Max Kellermann Committed by Max Kellermann

java/String: add `const`

parent 95d5efbf
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment