diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-10-10 18:20:49 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-10-10 18:20:49 -0400 |
commit | 2d8992a54790da53ac2a7c8c8e0d82bc272b7d71 (patch) | |
tree | bb4c81cf3bad8453a1fd7ced742a1aa24cfb8c16 /base64.cpp | |
parent | 145a83e4cd12871f573920acee8184346f7dcd74 (diff) | |
download | cryptopp-git-2d8992a54790da53ac2a7c8c8e0d82bc272b7d71.tar.gz |
Add statics to anonymous namespace
Diffstat (limited to 'base64.cpp')
-rw-r--r-- | base64.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -5,13 +5,12 @@ NAMESPACE_BEGIN(CryptoPP)
-// Base64
-static const byte s_stdVec[] =
- "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
-// Base64URL
-static const byte s_urlVec[] =
- "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";
-static const byte s_padding = '=';
+namespace
+{
+ const byte s_stdVec[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
+ const byte s_urlVec[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";
+ const byte s_padding = '=';
+}
void Base64Encoder::IsolatedInitialize(const NameValuePairs ¶meters)
{
|