Remove calls to std::exit() to match trunk. Libraries should not call exit directly.
This commit is contained in:
parent
ff31c12879
commit
457f632b9c
1 changed files with 2 additions and 2 deletions
|
@ -252,7 +252,7 @@ class MAPNIK_DECL enumeration {
|
|||
std::cerr << "### FATAL: Not enough strings for enum "
|
||||
<< our_name_ << " defined in file '" << filename
|
||||
<< "' at line " << line_no << std::endl;
|
||||
std::exit(1);
|
||||
//std::exit(1);
|
||||
}
|
||||
}
|
||||
if ( std::string("") != our_strings_[THE_MAX])
|
||||
|
@ -261,7 +261,7 @@ class MAPNIK_DECL enumeration {
|
|||
<< " defined in file '" << filename << "' at line " << line_no
|
||||
<< " has too many items or is not terminated with an "
|
||||
<< "empty string." << std::endl;
|
||||
std::exit(1);
|
||||
//std::exit(1);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue