1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-29 07:37:45 +00:00

Const correct

This commit is contained in:
Maru 2018-03-07 07:49:20 -03:00
parent 3d3c05fdb3
commit 926404693f

View file

@ -72,7 +72,7 @@ namespace Util
return spawnIndex != getAllocFailId(); return spawnIndex != getAllocFailId();
} }
constexpr T getAllocFailId() constexpr T getAllocFailId() const
{ {
return static_cast< T >( -1 ); return static_cast< T >( -1 );
} }