ERROR: reference to non-static member function must be called?
Why I am getting this ERROR?\n\nclass Solution {\npublic:\n    bool Compare(int a, int b){\n\tif(a%2==0 && b%2!=0)\n\t\treturn true;\n\telse\n\t\treturn false;\
Why I am getting this ERROR?\n```\nclass Solution {\npublic:\n    bool Compare(int a, int b){\n\tif(a%2==0 && b%2!=0)\n\t\treturn true;\n\telse\n\t\treturn false;\n\n    }\n    vector<int> sortArrayByParity(vector<int>& A) {\n        sort(A.begin(),A.end(),Compare);\n        return A;\n    }\n};\n```
[]