- Make the default configuration generated more explicit in `defaultConfig`
- Remove initialization in `Config` (would be `false` in any case)
This commit is contained in:
Tristan B. Velloza Kildaire 2023-04-06 08:49:44 +02:00
parent af4eed748f
commit 62cc615be3
1 changed files with 5 additions and 2 deletions

View File

@ -16,7 +16,7 @@ public struct Config
* and if so, then register it for
* us before encoding-and-sending
*/
public bool registerOnSend = false;
public bool registerOnSend;
}
/**
@ -27,5 +27,8 @@ public struct Config
*/
public Config defaultConfig()
{
return Config();
Config config;
config.registerOnSend = false;
return config;
}