diff options
author | Chris Robinson <[email protected]> | 2022-04-16 03:53:54 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-04-16 03:53:54 -0700 |
commit | adccf0aec935ff9b30e57aa8f4a1eb006beb92c2 (patch) | |
tree | e22eb24966d515caefffc7135a9fb35dcb90858d /alc/alconfig.h | |
parent | 4bfaf860bfc2575c7dcfa5192902bfef35a36234 (diff) |
Use a bool type for boolean parameters
Diffstat (limited to 'alc/alconfig.h')
-rw-r--r-- | alc/alconfig.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/alconfig.h b/alc/alconfig.h index 57733acb..df2830cc 100644 --- a/alc/alconfig.h +++ b/alc/alconfig.h @@ -7,7 +7,7 @@ void ReadALConfig(); -int GetConfigValueBool(const char *devName, const char *blockName, const char *keyName, int def); +bool GetConfigValueBool(const char *devName, const char *blockName, const char *keyName, bool def); al::optional<std::string> ConfigValueStr(const char *devName, const char *blockName, const char *keyName); al::optional<int> ConfigValueInt(const char *devName, const char *blockName, const char *keyName); |