all: misc and noexcept updates
This commit is contained in:
+1
-1
@@ -93,7 +93,7 @@ bool FileBase::do_sopen() {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool FileBase::close() {
|
||||
bool FileBase::close() noexcept {
|
||||
bool ok = true;
|
||||
if (isOpen() && _fd != STDIN_FILENO && _fd != STDOUT_FILENO && _fd != STDERR_FILENO)
|
||||
if (::close(_fd) == -1)
|
||||
|
||||
Reference in New Issue
Block a user