Forward reference problem

I’ve just seen a forward reference problem on the master/trunk (4.7)… complaining about FRenderResources in StaticBoundShaderState. I had to add this stuff to that file to make it compile.

#include “Runtime/ShaderCore/Public/Shader.h”

#include “Runtime/RenderCore/Public/RenderResource.h”

Someone’s forward referencing FRenderResource and then subclassing it later on… that’s verboten where I live (in linux land).

I suspect the windows dudes are either using non-standards based builds or they’re not doing a clean before they check their mods before a commit.

This is fixed in master branch now

Answering my own questions so they don’t clutter up searches… (feels like bad behaviour on my part though).