Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2014-08-07 16:21:03 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:24:09 +0300
commitefdf60f5435d49b703ee2754d0e21a97bdf80d82 (patch)
tree8b200eec6a66a8acb904cebceed0b8bdad020e72 /coding/hex.cpp
parentf32f150211fc3187c1c724f799a1fb583bdab6ce (diff)
Faster url encoding/decoding.
Diffstat (limited to 'coding/hex.cpp')
-rw-r--r--coding/hex.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/coding/hex.cpp b/coding/hex.cpp
index 0eab19f4b6..66ddffd678 100644
--- a/coding/hex.cpp
+++ b/coding/hex.cpp
@@ -1,8 +1,10 @@
-#include "../base/SRC_FIRST.hpp"
#include "hex.hpp"
+#include "../base/assert.hpp"
-namespace impl {
+
+namespace impl
+{
static const char kToHexTable[] = "0123456789ABCDEF";
void ToHexRaw(void const * src, size_t size, void * dst)
@@ -19,8 +21,6 @@ namespace impl {
}
}
-// static const char kFromHexTable[] = "0123456789ABCDEF";
-
uint8_t HexDigitToRaw(uint8_t const digit)
{
if (digit >= '0' && digit <= '9')