Apologize for my english. I'm trying to solve a very simple problem in c++. But i'm new in c++ so can't solve this :( 
I'm trying to use operator overloading with header files. For new I'm trying to implementing [this](https://stackoverflow.com/questions/27238216/c-create-assign-and-compare-a-new-variable-to-two-object-inside-an-operator-o) question. But I got error in getStatusPoint method.
[![enter image description here](https://i.stack.imgur.com/rkSqj.png)](https://i.stack.imgur.com/rkSqj.png)

```
int getStatusPoint(Alien const& alien)
{
    return alien.getHeight()*alien.getWeight()*aliean.getGender();
}

bool Alien::operator>(const Alien& alien) const {
    return(getStatusPoint(*this) > getStatusPoint(alien));
}

```

If I use don't use getStatusPoint method then its working fine.
Can anyone please help me to solve this question using getStatusPoint().