diff --git a/java/src/main/native/src/CuFileJni.cpp b/java/src/main/native/src/CuFileJni.cpp index d59394161b..44598f11db 100644 --- a/java/src/main/native/src/CuFileJni.cpp +++ b/java/src/main/native/src/CuFileJni.cpp @@ -99,7 +99,7 @@ class cufile_file { cufile_file& operator=(cufile_file const&) = delete; /** @brief Destroy the file wrapper by de-registering the cuFile handle and closing the file. */ - ~cufile_file() + ~cufile_file() noexcept { cuFileHandleDeregister(cufile_handle_); close(file_descriptor_);