Update corner.cpp

I move the '#endif' the correct position now.