aboutsummaryrefslogtreecommitdiff
path: root/src/hex_functions.cpp
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2020-11-01 12:32:48 -0600
committerGitHub <noreply@github.com>2020-11-01 12:32:48 -0600
commitdd085c89587258cc32ee89ab27f943c9e6d9d759 (patch)
tree0b8876b81ff18d9782ee1a26d9db624c65d31b99 /src/hex_functions.cpp
parent93f370b0623523d4b4ff03b53f18dc5046e36af8 (diff)
parentb036134414852036c1e9116d337c3b4d1cb02569 (diff)
Merge pull request #331 from AttorneyOnline/no-fantacrypt
Drop AO1 compatibility
Diffstat (limited to 'src/hex_functions.cpp')
-rw-r--r--src/hex_functions.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/hex_functions.cpp b/src/hex_functions.cpp
deleted file mode 100644
index 1e35718f..00000000
--- a/src/hex_functions.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-#include "hex_functions.h"
-
-namespace omni {
-std::string int_to_hex(unsigned int input)
-{
- if (input > 255)
- return "FF";
-
- std::stringstream stream;
- stream << std::setfill('0') << std::setw(sizeof(char) * 2) << std::hex
- << input;
- std::string result(stream.str());
- std::transform(result.begin(), result.end(), result.begin(), ::toupper);
-
- return result;
-}
-} // namespace omni