summaryrefslogtreecommitdiffstats
path: root/twrp-functions.cpp
diff options
context:
space:
mode:
authorJenkins <bigbiff@teamw.in>2014-10-03 02:22:21 +0200
committerDees Troy <dees_troy@teamw.in>2014-10-14 15:08:11 +0200
commit1710bf254756d49355e9156ba1907545addfb319 (patch)
tree063fab21b02cb2a9ded53535ad19a4b4746f8a07 /twrp-functions.cpp
parentAdd support for TrueType fonts (diff)
downloadandroid_bootable_recovery-1710bf254756d49355e9156ba1907545addfb319.tar
android_bootable_recovery-1710bf254756d49355e9156ba1907545addfb319.tar.gz
android_bootable_recovery-1710bf254756d49355e9156ba1907545addfb319.tar.bz2
android_bootable_recovery-1710bf254756d49355e9156ba1907545addfb319.tar.lz
android_bootable_recovery-1710bf254756d49355e9156ba1907545addfb319.tar.xz
android_bootable_recovery-1710bf254756d49355e9156ba1907545addfb319.tar.zst
android_bootable_recovery-1710bf254756d49355e9156ba1907545addfb319.zip
Diffstat (limited to 'twrp-functions.cpp')
-rw-r--r--twrp-functions.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/twrp-functions.cpp b/twrp-functions.cpp
index cd8700f8f..89714dd7d 100644
--- a/twrp-functions.cpp
+++ b/twrp-functions.cpp
@@ -1289,4 +1289,10 @@ void TWFunc::SetPerformanceMode(bool mode) {
usleep(500000);
}
+std::string TWFunc::to_string(unsigned long value) {
+ std::ostringstream os;
+ os << value;
+ return os.str();
+}
+
#endif // ndef BUILD_TWRPTAR_MAIN