C++11-Combat: last replacements of std::to_string.

This commit is contained in:
Kim Kulling
2016-10-15 21:30:02 +02:00
parent e0dde73018
commit 7681089abc
3 changed files with 11 additions and 9 deletions
+2 -1
View File
@@ -43,6 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <cstdarg>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <sstream>
#include <string>
@@ -103,7 +104,7 @@ float ai_strtof( const char *begin, const char *end ) {
std::string token( begin, len );
val = static_cast< float >( ::atof( token.c_str() ) );
}
return val;
}