Removed friend decleration of function that doesn't exist any more