mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 02:29:19 +02:00
reformat: set variables to constexpr where possible
This commit is contained in:
@@ -312,9 +312,9 @@ char charsetconversiontable[] = "E?,?\"_++?%S<STZZ?`'\"\".--??s>stzz"
|
||||
std::string Bezogonkow(std::string Input, bool const Underscorestospaces)
|
||||
{
|
||||
|
||||
char const extendedcharsetbit{static_cast<char>(0x80)};
|
||||
char const space{' '};
|
||||
char const underscore{'_'};
|
||||
constexpr char extendedcharsetbit{static_cast<char>(0x80)};
|
||||
constexpr char space{' '};
|
||||
constexpr char underscore{'_'};
|
||||
|
||||
for (auto &input : Input)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user