Remove calls to std::exit() to match trunk. Libraries should not call exit directly.

This commit is contained in:
Jon Burgess 2010-09-24 15:45:39 +00:00
parent ff31c12879
commit 457f632b9c

View file

@ -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;
}