There have been compiler warnings about sprintf usage for some time, and now we have a bug report as well (#145). I replaced them mostly with boost::format but in one case with std::to_string (our second use of a C++11 feature!).
I also did a few cleanups while I was in the code - indentation and one unused header.
There have been compiler warnings about
sprintf
usage for some time, and now we have a bug report as well (#145). I replaced them mostly withboost::format
but in one case withstd::to_string
(our second use of a C++11 feature!).I also did a few cleanups while I was in the code - indentation and one unused header.