summaryrefslogtreecommitdiff
path: root/src/mongo/util/hex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/hex.cpp')
-rw-r--r--src/mongo/util/hex.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/util/hex.cpp b/src/mongo/util/hex.cpp
index d589d751b45..4ee2967ddff 100644
--- a/src/mongo/util/hex.cpp
+++ b/src/mongo/util/hex.cpp
@@ -62,6 +62,10 @@ std::string integerToHexDef(T inInt) {
}
template <>
+std::string integerToHex<char>(char val) {
+ return integerToHexDef(val);
+}
+template <>
std::string integerToHex<int>(int val) {
return integerToHexDef(val);
}