Constructor
PixelPlane::PixelPlane(int& width, int& height, const std::string& label)
Whenever I initialize the object with the following arguments
PixelPlane pixel_plane(960, 540, "Title");
Visual Studio underlines the 960
argument and displays the message No instance of constructor "PixelPlane::PixelPlane matches the argument list. Argument types are: (int, int, const char[5])
. I saw someone do something similar without errors https://www.youtube.com/watch?v=1nfuYMXjZsA. Have I done something wrong or have I just overlooked something?