libstdc++: add braces
GCC compiles with -fno-exceptions, so __throw_exception_again is a no-op, and compilation gives a -Wempty-body warning here, so let's wrap it as is already done in a few other files. libstdc++-v3/ChangeLog: * include/bits/basic_ios.h: Add braces.
This commit is contained in:
parent
cc62b2c3da
commit
aa338bdd46
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
|||
// Turn this on without causing an ios::failure to be thrown.
|
||||
_M_streambuf_state |= __state;
|
||||
if (this->exceptions() & __state)
|
||||
__throw_exception_again;
|
||||
{ __throw_exception_again; }
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue