aboutsummaryrefslogtreecommitdiff
path: root/src/hex_functions.cpp
diff options
context:
space:
mode:
authorCrystalwarrior <varsash@gmail.com>2021-01-10 14:27:27 +0300
committerCrystalwarrior <varsash@gmail.com>2021-01-10 14:27:27 +0300
commit1ad8f3bf24a4e0a3dcbd0d172c9bfa1641907d7d (patch)
tree2f4345fcc09eafa846cf5552e19e3443bdc07744 /src/hex_functions.cpp
parentde3533fbf2615a40efc60c9ed2e96f1a3b5da3c1 (diff)
parente65072f8f1e885f7bbade9e9d84fbeea2ef8a097 (diff)
Merge branch 'master' into feature/timerclock
# Conflicts: # include/courtroom.h # src/courtroom.cpp
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