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

Merge pull request #268 from itsMaru/actor_rewrite

const correct
This commit is contained in:
Mordred 2018-03-07 13:40:29 +01:00 committed by GitHub
commit d7f51a2dcf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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