peerplays-fc/include
theoreticalbts 8d99ea94e6 Avoid undefined behavior in enum deserialization
atoi() has undefined behavior when given a string that can't be parsed as an integer.
This patch replaces atoi() with boost_lexical_cast() and throws an exception when we get
something that's not a number.
2016-08-26 15:01:26 -04:00
..
fc Avoid undefined behavior in enum deserialization 2016-08-26 15:01:26 -04:00