C1427: 'this' allowed in member functions only

[ERROR]

Description

The specified global function did not have a this pointer to access.

Tips

Do not use this in global functions.