The code uses this in a static class or member function.
To correct this error
-
Replace this with a qualified reference to a particular instance of the class.
-
Remove the static modifier.
The code uses this in a static class or member function.
Replace this with a qualified reference to a particular instance of the class.
Remove the static modifier.