mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 21:49:41 +00:00
typo
This commit is contained in:
parent
8c84f68dab
commit
56c9992b29
1 changed files with 2 additions and 2 deletions
|
@ -72,11 +72,11 @@ void validate(boost::any &v, std::vector<std::string> const &tokens, FallbackMap
|
||||||
{
|
{
|
||||||
int sep = it->find(",");
|
int sep = it->find(",");
|
||||||
if(sep < 1 || sep == (int)it->length()-1)
|
if(sep < 1 || sep == (int)it->length()-1)
|
||||||
#if (BOOST_VERSION <= 104200)
|
#if (BOOST_VERSION < 104200)
|
||||||
throw boost::program_options::validation_error("invalid value");
|
throw boost::program_options::validation_error("invalid value");
|
||||||
#else
|
#else
|
||||||
throw boost::program_options::validation_error(boost::program_options::validation_error::invalid_option_value);
|
throw boost::program_options::validation_error(boost::program_options::validation_error::invalid_option_value);
|
||||||
#endif /* #if (BOOST_VERSION <= 104200) */
|
#endif/
|
||||||
|
|
||||||
std::string key(it->substr(0,sep));
|
std::string key(it->substr(0,sep));
|
||||||
std::string value(it->substr(sep+1));
|
std::string value(it->substr(sep+1));
|
||||||
|
|
Loading…
Reference in a new issue