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:
authorAlex Zolotarev <deathbaba@gmail.com>2012-12-14 17:13:02 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:47:58 +0300
commit98372ba583ca4a01bab65f8a0c63c55a9085cba9 (patch)
treec7e7b2d35ea4b768ec3f432648a70cc62bb3f861 /coding/base64.hpp
parentfc00349a4de4d6199c0028067bf157617a5221dd (diff)
Moved invalid base64 implementation to another namespace
Diffstat (limited to 'coding/base64.hpp')
-rw-r--r--coding/base64.hpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/coding/base64.hpp b/coding/base64.hpp
index f30afc9708..e9a4081a8e 100644
--- a/coding/base64.hpp
+++ b/coding/base64.hpp
@@ -2,8 +2,12 @@
#include "../std/string.hpp"
-namespace base64
+/// This namespace contains historically invalid implementation of base64,
+/// but it's still needed for production code
+namespace base64_for_user_ids
{
- string encode(string rawBytes);
- string decode(string const & base64Chars);
+
+string encode(string rawBytes);
+string decode(string const & base64Chars);
+
}