Rookfighter / inifile-cpp

A header-only and easy to use Ini file parser for C++.
MIT License
363 stars 68 forks source link

Add semicolon ";" to comment prefixes #22

Closed Capo80 closed 2 years ago

Rookfighter commented 2 years ago

Hi Capo80, thanks for your pull request. I see your point and I would like to merge your changes. Could you please also adjust the two parametrized constructors? Currently they have default arguments which then do not match the default constructor behaviour. Actually I would prefer if you just removed the comment and fieldSep arguments.

IniFileBase(const std::string &filename,
            const char fieldSep = '=',
            const char comment = '#')

Change to

IniFileBase(const std::string &filename)
Capo80 commented 2 years ago

Done.