Make type more explicit

This commit is contained in:
Stefan Hillmich 2022-09-12 11:32:31 +02:00
parent bed8ae386e
commit 161920d777

View File

@ -1914,13 +1914,13 @@ format_description
while (current != std::end(desc))
{
appendNewLine = false;
if (std::isblank(*previous, std::locale::classic()))
const char prev = *previous;
if (std::isblank(prev, std::locale::classic()))
{
lastSpace = current;
}
if (!std::isblank(*current, std::locale::classic()))
const char curr = *current;
if (!std::isblank(curr, std::locale::classic()))
{
onlyWhiteSpace = false;
}