CConfigFileReader incorrectly works with different radixes except decimal one. When your configuration file contains something like these 0x40, 0456 they won't be recognized correctly.
Environment
Win10 (x64) / Visual Studio 2017
Steps to reproduce the issue
Create the following configuration file
[test]
hex-value=0x42
Try to parse it using CConfigFileReader for that.
What's the expected result?
We should get 66 within the parameters map instead of either 0 or 42.
What's the actual result?
We've got 0, because of errors during the parsing process
Bug report
CConfigFileReader incorrectly works with different radixes except decimal one. When your configuration file contains something like these 0x40, 0456 they won't be recognized correctly.
Environment
Win10 (x64) / Visual Studio 2017
Steps to reproduce the issue
What's the expected result?
We should get 66 within the parameters map instead of either 0 or 42.
What's the actual result?
We've got 0, because of errors during the parsing process