mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-07 14:30:13 +01:00
fix std::ios::internal usage in Poco::format()
This commit is contained in:
parent
91f2e3827b
commit
a0dfc58396
@ -57,8 +57,8 @@ namespace
|
|||||||
switch (*itFmt)
|
switch (*itFmt)
|
||||||
{
|
{
|
||||||
case '-': str.setf(std::ios::left); ++itFmt; break;
|
case '-': str.setf(std::ios::left); ++itFmt; break;
|
||||||
case '+': str.setf(std::ios::showpos | std::ios::internal); ++itFmt; break;
|
case '+': str.setf(std::ios::showpos); ++itFmt; break;
|
||||||
case '0': str.fill('0'); ++itFmt; break;
|
case '0': str.fill('0'); str.setf(std::ios::internal); ++itFmt; break;
|
||||||
case '#': str.setf(std::ios::showpoint | std::ios::showbase); ++itFmt; break;
|
case '#': str.setf(std::ios::showpoint | std::ios::showbase); ++itFmt; break;
|
||||||
default: isFlag = false; break;
|
default: isFlag = false; break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user