mirror of
https://github.com/stefanocasazza/ULib.git
synced 2025-10-26 19:57:22 +08:00
sync
This commit is contained in:
@@ -396,7 +396,7 @@ protected:
|
||||
* }
|
||||
*/
|
||||
|
||||
static int32_t getIndexStaticTable(const UString& key);
|
||||
static int32_t getIndexStaticTable(const UString& key) __pure;
|
||||
|
||||
static bool setIndexStaticTable(UHashMap<void*>* table, const char* key, uint32_t length)
|
||||
{
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
#include <ulib/internal/common.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <setjmp.h>
|
||||
|
||||
#ifndef HAVE_SIGINFO_T
|
||||
|
||||
@@ -183,7 +183,7 @@ struct U_EXPORT UServices {
|
||||
UString code(len);
|
||||
char* ptr = code.data();
|
||||
|
||||
for (uint32_t i = 0; i < len; ++i, ++ptr) *ptr = u_alphabet[u_get_num_random(sizeof(u_alphabet) - 3)];
|
||||
for (uint32_t i = 0; i < len; ++i, ++ptr) *ptr = u_b64[u_get_num_random(sizeof(u_b64) - 3)];
|
||||
|
||||
code.size_adjust(len);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user