zompi2 / UE4EnhancedCodeFlow

This code plugin for Unreal Engine provides functions that drastically improve the quality of life during the implementation of game flow in C++.
MIT License
103 stars 15 forks source link

fix for the UECFActionBase declaration #16

Closed Matiis closed 2 years ago

Matiis commented 2 years ago

Forward declaration for UECFActionBase might fail on some compilers and/or depending on modules/unity build settings. That's because template method AddAction uses "PossibleInstancedAction->RetriggeredInstancedAction();" and other methods directly in the header, so forward declaration will be not provide enough information to complete the compilation.