mirror of https://github.com/OpenTTD/OpenTTD
Codefix: Codestyle consistency fixes. (#14008)
parent
03ed59a004
commit
fa0814e257
|
@ -67,8 +67,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* Compose data into a growing std::string.
|
* Compose data into a growing std::string.
|
||||||
*/
|
*/
|
||||||
class StringBuilder final : public BaseStringBuilder
|
class StringBuilder final : public BaseStringBuilder {
|
||||||
{
|
|
||||||
std::string *dest;
|
std::string *dest;
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -18,8 +18,7 @@
|
||||||
/**
|
/**
|
||||||
* Builder implementation for InPlaceReplacement.
|
* Builder implementation for InPlaceReplacement.
|
||||||
*/
|
*/
|
||||||
class InPlaceBuilder final : public BaseStringBuilder
|
class InPlaceBuilder final : public BaseStringBuilder {
|
||||||
{
|
|
||||||
std::span<char> dest;
|
std::span<char> dest;
|
||||||
size_type position = 0;
|
size_type position = 0;
|
||||||
const StringConsumer &consumer;
|
const StringConsumer &consumer;
|
||||||
|
@ -90,8 +89,7 @@ public:
|
||||||
* - The Builder writes data to the buffer, replacing already consumed data.
|
* - The Builder writes data to the buffer, replacing already consumed data.
|
||||||
* - The Builder asserts, if it overtakes the consumer.
|
* - The Builder asserts, if it overtakes the consumer.
|
||||||
*/
|
*/
|
||||||
class InPlaceReplacement
|
class InPlaceReplacement {
|
||||||
{
|
|
||||||
public:
|
public:
|
||||||
StringConsumer consumer; ///< Consumer from shared buffer
|
StringConsumer consumer; ///< Consumer from shared buffer
|
||||||
InPlaceBuilder builder; ///< Builder into shared buffer
|
InPlaceBuilder builder; ///< Builder into shared buffer
|
||||||
|
|
Loading…
Reference in New Issue