diff options
| author | Littleboy | 2013-09-11 20:36:38 -0400 | 
|---|---|---|
| committer | Littleboy | 2013-09-11 21:22:06 -0400 | 
| commit | 8b56d0792cace06693b18af3fe848f66434fc4cd (patch) | |
| tree | 9b1ef2a282c5fd43c04b0536e98a145d818309ad /devtools/create_project/create_project.cpp | |
| parent | 9ef5684648954c7e46e19759fef6629d0207bd31 (diff) | |
| download | scummvm-rg350-8b56d0792cace06693b18af3fe848f66434fc4cd.tar.gz scummvm-rg350-8b56d0792cace06693b18af3fe848f66434fc4cd.tar.bz2 scummvm-rg350-8b56d0792cace06693b18af3fe848f66434fc4cd.zip  | |
CREATE_PROJECT: Remove usage of std::to_string()
Diffstat (limited to 'devtools/create_project/create_project.cpp')
| -rw-r--r-- | devtools/create_project/create_project.cpp | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/devtools/create_project/create_project.cpp b/devtools/create_project/create_project.cpp index 3ee5fc4f97..7ae2df35c8 100644 --- a/devtools/create_project/create_project.cpp +++ b/devtools/create_project/create_project.cpp @@ -39,7 +39,7 @@  #include <fstream>  #include <iostream> - +#include <sstream>  #include <stack>  #include <algorithm>  #include <iomanip> @@ -966,6 +966,10 @@ bool producesObjectFile(const std::string &fileName) {  		return false;  } +std::string toString(int num) { +    return static_cast<std::ostringstream*>(&(std::ostringstream() << num))->str(); +} +  /**   * Checks whether the give file in the specified directory is present in the given   * file list.  | 
