mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix style of "const".
This commit is contained in:
@@ -123,7 +123,7 @@ static inline void keccakf(void* state) {
|
||||
FOR(i, 1, len, S); \
|
||||
}
|
||||
#define mkapply_sd(NAME, S) \
|
||||
static inline void NAME(const uint8_t* src, \
|
||||
static inline void NAME(uint8_t const* src, \
|
||||
uint8_t* dst, \
|
||||
size_t len) { \
|
||||
FOR(i, 1, len, S); \
|
||||
|
||||
+1
-1
@@ -77,7 +77,7 @@ bool isWellFormed(unsigned char byte1, unsigned char byte2)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool validateUTF8(const unsigned char *_input, size_t _length, size_t& _invalidPosition)
|
||||
bool validateUTF8(unsigned char const* _input, size_t _length, size_t& _invalidPosition)
|
||||
{
|
||||
bool valid = true;
|
||||
size_t i = 0;
|
||||
|
||||
Reference in New Issue
Block a user