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)) while (current != std::end(desc))
{ {
appendNewLine = false; appendNewLine = false;
const char prev = *previous;
if (std::isblank(*previous, std::locale::classic())) if (std::isblank(prev, std::locale::classic()))
{ {
lastSpace = current; lastSpace = current;
} }
const char curr = *current;
if (!std::isblank(*current, std::locale::classic())) if (!std::isblank(curr, std::locale::classic()))
{ {
onlyWhiteSpace = false; onlyWhiteSpace = false;
} }