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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user