diff options
author | Max Kellermann <max@musicpd.org> | 2018-08-28 13:27:28 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-08-28 13:27:28 +0200 |
commit | 35eca08d4829f16a8330939505be4fccb7de8c4b (patch) | |
tree | 86e2dfa3f38bef0b107c3823f35f58883a10e313 /src/java/String.cxx | |
parent | 7137ca375afdd258a24f2cb6a50bbac98c16d805 (diff) |
java/*: add `noexcept`
Diffstat (limited to 'src/java/String.cxx')
-rw-r--r-- | src/java/String.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/String.cxx b/src/java/String.cxx index 238d9a16b..899f670c4 100644 --- a/src/java/String.cxx +++ b/src/java/String.cxx @@ -32,7 +32,7 @@ char * Java::String::CopyTo(JNIEnv *env, jstring value, - char *buffer, size_t max_size) + char *buffer, size_t max_size) noexcept { const char *p = env->GetStringUTFChars(value, nullptr); if (p == nullptr) |