1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-23 12:14:11 +01:00

Codechange: Use x = y instead of x{y} for value-type member initialisation. (#12501)

This is easier to read and less likely to look like an array definition.
This commit is contained in:
Peter Nelson
2024-04-15 23:07:36 +01:00
committed by GitHub
parent 672aa014d8
commit 3ad143c43a
6 changed files with 35 additions and 35 deletions

View File

@@ -291,10 +291,10 @@ public:
# include "video/video_driver.hpp"
class BootstrapEmscripten : public ContentCallback {
bool downloading{false};
uint total_files{0};
uint total_bytes{0};
uint downloaded_bytes{0};
bool downloading = false;
uint total_files = 0;
uint total_bytes = 0;
uint downloaded_bytes = 0;
public:
BootstrapEmscripten()