Add missing const in StringUtils.h
This commit is contained in:
parent
ae0c7a31f8
commit
734d18cb35
|
@ -36,7 +36,7 @@ namespace antlrcpp {
|
||||||
thread_local UTF32Converter converter;
|
thread_local UTF32Converter converter;
|
||||||
|
|
||||||
#if defined(_MSC_VER) && _MSC_VER >= 1900 && _MSC_VER < 2000
|
#if defined(_MSC_VER) && _MSC_VER >= 1900 && _MSC_VER < 2000
|
||||||
auto p = reinterpret_cast<const int32_t *>(data.data());
|
const auto p = reinterpret_cast<const int32_t *>(data.data());
|
||||||
return converter.to_bytes(p, p + data.size());
|
return converter.to_bytes(p, p + data.size());
|
||||||
#else
|
#else
|
||||||
return converter.to_bytes(data);
|
return converter.to_bytes(data);
|
||||||
|
|
Loading…
Reference in New Issue