peter1591 / hearthstone-ai

A Hearthstone AI based on Monte Carlo tree search and neural nets written in modern C++.
302 stars 49 forks source link

Potential Typo #26

Closed zappybiby closed 7 years ago

zappybiby commented 7 years ago

In StaticEventTriggerrer.h line 17, class 'Invoker' doesn't resolve. Did you mean to use class 'Invoker2'?

peter1591 commented 7 years ago

It's a templated class, so maybe the compiler resolved it when it scan the source for the first time. So it can be resolved when the templated class got instantiated.

BTW, I use a more clear way to implement this class. See commit 7bccc826 for more detail.