Update win_logger.cc : assert failed when return value not checked. (-DROCKSDB_ASSERT_STATUS_CHECKED) (#7955)
Summary: Ignore return value on WinLogger::CloseInternal() when build with -DROCKSDB_ASSERT_STATUS_CHECKED on windows. It's a good way to ignore check here? Pull Request resolved: https://github.com/facebook/rocksdb/pull/7955 Reviewed By: jay-zhuang Differential Revision: D26524145 Pulled By: ajkr fbshipit-source-id: f2f643e94cde9772617c68b658fb529fffebd8ce
This commit is contained in:
parent
69877ac4f2
commit
ad25b1afb9
@ -56,7 +56,7 @@ void WinLogger::DebugWriter(const char* str, int len) {
|
||||
}
|
||||
}
|
||||
|
||||
WinLogger::~WinLogger() { CloseInternal(); }
|
||||
WinLogger::~WinLogger() { CloseInternal().PermitUncheckedError(); }
|
||||
|
||||
Status WinLogger::CloseImpl() {
|
||||
return CloseInternal();
|
||||
|
Loading…
Reference in New Issue
Block a user