Compile error with IPlatformFile::FDirectoryVisitor* in method signature
I'm trying to make method for binding with FCoreDelegates::OnMountPak delegate. If I'm binding this delegate with lambda in .cpp everything is ok, but when I'm trying to declare a function with the same signature (as lamda) in header I have compile error:
It's very strange because IPlatformFile is declared in "GenericPlatformFile.h" but it's included.. Please help me to resolve this frustrating issue.
asked Sep 30 '16 at 12:03 AM in C++ Programming
I found a workaround. So because I didn't find a way how to include nested class, I made pure C++ class derived from FPakPlatformFile which is derived from IPakPlatform, so I was able to declare a method with required signature with nested class type in arguments for binding to delegate. So now this class is doing all routine work.
answered Sep 30 '16 at 02:00 PM
answered Feb 08 '19 at 10:14 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here