diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-06-03 01:08:54 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-06-18 19:53:38 -0400 |
| commit | ce54c1e571a7f79c173dd8f949003255ba95670a (patch) | |
| tree | a8a50407af01bd5da5b9ba122e02a756ac73119d /Source/Core/VideoCommon/ImageWrite.cpp | |
| parent | dccd9ead7dd23bf3b463a8e4043bdc63de6a7a9f (diff) | |
Kill off replaceable usages of s[n]printf.
Diffstat (limited to 'Source/Core/VideoCommon/ImageWrite.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/ImageWrite.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/ImageWrite.cpp b/Source/Core/VideoCommon/ImageWrite.cpp index d16164887c..db6cbf69c7 100644 --- a/Source/Core/VideoCommon/ImageWrite.cpp +++ b/Source/Core/VideoCommon/ImageWrite.cpp @@ -3,13 +3,14 @@ // Refer to the license.txt file included. #include <list> +#include <string> #include <vector> #include "png.h" #include "Common/FileUtil.h" #include "VideoCommon/ImageWrite.h" -bool SaveData(const char* filename, const char* data) +bool SaveData(const std::string& filename, const char* data) { std::ofstream f; OpenFStream(f, filename, std::ios::binary); |
