mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-17 17:32:45 +01:00
Codechange: use const for std::string_view where appropriate
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
|
||||
#include "../safeguards.h"
|
||||
|
||||
const std::string_view StringConsumer::WHITESPACE_NO_NEWLINE = "\t\v\f\r ";
|
||||
const std::string_view StringConsumer::WHITESPACE_OR_NEWLINE = "\t\n\v\f\r ";
|
||||
/* static */ const std::string_view StringConsumer::WHITESPACE_NO_NEWLINE = "\t\v\f\r ";
|
||||
/* static */ const std::string_view StringConsumer::WHITESPACE_OR_NEWLINE = "\t\n\v\f\r ";
|
||||
|
||||
/* static */ void StringConsumer::LogError(std::string &&msg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user