Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita4fc0b7

Browse files
committed
Declare the BASE64 alphabet as array of chars; not as a pointer
1 parenta3bba42 commita4fc0b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎boost/network/utils/base64/encode.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ namespace detail {
5252
// from the input sequence to encode.
5353
template<typename Value>
5454
charencode_value(Value value) {
55-
staticcharconst*encoding ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
55+
staticcharconst encoding[] ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
5656
return encoding[static_cast<unsignedint>(value)];
5757
}
5858

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp