C++ Course, Prop Collision - Could not convert brace enclosed initializator list

Hi,

I’m on the Prop Collision lecture of the Classy Clash section. So far so good, but I’m hitting a wall when trying to create an array of props. I get the error below:

I assume it must be something incorrect with my Prop class (definition below) perhaps something missing on the constructor, but I don’t see the difference with the videos. Any tip is welcome.


Thanks!
Tomas

Sorry, please ignore this one!
It has worked after restarting the Visual Studio code. Must have been something that was cached…

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms