aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/utils.cpp
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-09-02 15:34:07 +0200
committerKarel Kočí <cynerd@email.cz>2017-09-02 15:34:07 +0200
commit375607d9969896c894fa2642ce4a0b8b519a2adb (patch)
treecb947a843d85f1cd278da15cff432c849986166c /qtmips_machine/utils.cpp
parent82884b3ef726889f837542d2b5e98e2cd8246c00 (diff)
downloadqtmips-375607d9969896c894fa2642ce4a0b8b519a2adb.tar.gz
qtmips-375607d9969896c894fa2642ce4a0b8b519a2adb.tar.bz2
qtmips-375607d9969896c894fa2642ce4a0b8b519a2adb.zip
Use QString and QVector instead of std ones and more
Diffstat (limited to 'qtmips_machine/utils.cpp')
-rw-r--r--qtmips_machine/utils.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/qtmips_machine/utils.cpp b/qtmips_machine/utils.cpp
deleted file mode 100644
index dfe8c2a..0000000
--- a/qtmips_machine/utils.cpp
+++ /dev/null
@@ -1,30 +0,0 @@
-#include "utils.h"
-#include <sstream>
-
-#define TO_STR_HEX do { std::stringstream ss; ss << std::hex << v; return std::string(ss.str()); } while (false)
-
-std::string to_string_hex(int v) {
- TO_STR_HEX;
-}
-
-std::string to_string_hex(unsigned v) {
- TO_STR_HEX;
-}
-
-std::string to_string_hex(long v) {
- TO_STR_HEX;
-}
-
-std::string to_string_hex(unsigned long v) {
- TO_STR_HEX;
-}
-
-std::string to_string_hex(long long v) {
- TO_STR_HEX;
-}
-
-std::string to_string_hex(unsigned long long v) {
- TO_STR_HEX;
-}
-
-#undef TO_STR_HEX