mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-02 03:53:14 +00:00
http_client: add a couple consts
This commit is contained in:
parent
f640512c53
commit
efb72e74e2
1 changed files with 2 additions and 2 deletions
|
@ -107,14 +107,14 @@ using namespace std;
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
static inline const char* get_hex_vals()
|
static inline const char* get_hex_vals()
|
||||||
{
|
{
|
||||||
static char hexVals[16] = {'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'};
|
static const char hexVals[16] = {'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'};
|
||||||
return hexVals;
|
return hexVals;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline const char* get_unsave_chars()
|
static inline const char* get_unsave_chars()
|
||||||
{
|
{
|
||||||
//static char unsave_chars[] = "\"<>%\\^[]`+$,@:;/!#?=&";
|
//static char unsave_chars[] = "\"<>%\\^[]`+$,@:;/!#?=&";
|
||||||
static char unsave_chars[] = "\"<>%\\^[]`+$,@:;!#&";
|
static const char unsave_chars[] = "\"<>%\\^[]`+$,@:;!#&";
|
||||||
return unsave_chars;
|
return unsave_chars;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue