java/*: add noexcept

This commit is contained in:
Max Kellermann
2018-08-28 13:27:28 +02:00
parent 7137ca375a
commit 35eca08d48
10 changed files with 50 additions and 44 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2010-2011 Max Kellermann <max.kellermann@gmail.com>
* Copyright 2010-2018 Max Kellermann <max.kellermann@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -48,7 +48,8 @@ namespace Java {
*/
Object() = default;
Object(JNIEnv *env, jobject obj):GlobalRef<jobject>(env, obj) {}
Object(JNIEnv *env, jobject obj) noexcept
:GlobalRef<jobject>(env, obj) {}
};
}