added "const" prefix.
This commit is contained in:
parent
97422170df
commit
72fcbb18ab
@ -4,7 +4,7 @@ namespace hgl
|
||||
{
|
||||
bool CheckSystemEndian()
|
||||
{
|
||||
constexpr uint16 db=0xABCD;
|
||||
constexpr const uint16 db=0xABCD;
|
||||
|
||||
#if HGL_ENDIAN == HGL_BIG_ENDIAN
|
||||
return(*(uint8 *)&db==0xAB);
|
||||
|
Loading…
x
Reference in New Issue
Block a user