From 375607d9969896c894fa2642ce4a0b8b519a2adb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 2 Sep 2017 15:34:07 +0200 Subject: Use QString and QVector instead of std ones and more --- qtmips_machine/utils.cpp | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 qtmips_machine/utils.cpp (limited to 'qtmips_machine/utils.cpp') 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 - -#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 -- cgit v1.2.3