android/Environment: add noexcept

This commit is contained in:
Max Kellermann
2019-04-24 14:50:02 +02:00
parent e413dcf8c6
commit b985835d8b
2 changed files with 8 additions and 8 deletions

View File

@@ -27,17 +27,17 @@
class AllocatedPath;
namespace Environment {
void Initialise(JNIEnv *env);
void Deinitialise(JNIEnv *env);
void Initialise(JNIEnv *env) noexcept;
void Deinitialise(JNIEnv *env) noexcept;
/**
* Determine the mount point of the external SD card.
*/
gcc_pure
AllocatedPath getExternalStorageDirectory();
AllocatedPath getExternalStorageDirectory() noexcept;
gcc_pure
AllocatedPath getExternalStoragePublicDirectory(const char *type);
AllocatedPath getExternalStoragePublicDirectory(const char *type) noexcept;
};
#endif