Config
- Make the default configuration generated more explicit in `defaultConfig` - Remove initialization in `Config` (would be `false` in any case)
This commit is contained in:
parent
af4eed748f
commit
62cc615be3
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue