mirror of
https://github.com/gelldur/EventBus.git
synced 2025-01-14 01:07:59 +08:00
Remove not needed const
This commit is contained in:
parent
b41c6254ff
commit
b370565b37
@ -207,7 +207,7 @@ private:
|
||||
std::map<std::size_t, std::unique_ptr<VectorInterface>> _callbacks;
|
||||
|
||||
template<typename T>
|
||||
static const std::size_t getTypeId()
|
||||
static std::size_t getTypeId()
|
||||
{
|
||||
//std::hash<std::string>{}(typeid(T).name() is slower
|
||||
return typeid(T).hash_code();
|
||||
|
Loading…
x
Reference in New Issue
Block a user