diff --git a/plugins/rendermax/renderer_light.hpp b/plugins/rendermax/renderer_light.hpp index 83d5da28f..52bfb1f3e 100644 --- a/plugins/rendermax/renderer_light.hpp +++ b/plugins/rendermax/renderer_light.hpp @@ -360,7 +360,7 @@ private: std::unordered_map,itemLightDef> itemDefs; int w,h; DFHack::rect2d mapPort; - friend lightThreadDispatch; + friend class lightThreadDispatch; }; rgbf blend(const rgbf& a,const rgbf& b); rgbf blendMax(const rgbf& a,const rgbf& b);