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 69ff6404d4
commit 59a9a44db8

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 );
} }