Cannot instantiate class

Hey everybody!

I have a strange problem which I need help with. When I try to instantiate the class
FBullCowGame I get the compiler error “the default constructor of “FBullCowGame” cannot be referenced – it is a deleted function”. What does that even mean?

Here is my code for the main method:
https://gist.github.com/dedday83/297f15a3febd429d29c658ce8332c143

Forget it. I solved it myself. The problem was that I created a private const variable in the
FBullCowGame.h without initializing it there.

Mark the title as solved please

1 Like

Privacy & Terms