Quick C++ Help

Miscellaneous Forums/General Discussion/Quick C++ Help

void TEntity::SetAutoFade(float near,float far){
	autofade[0]=near;
	autofade[1]=far;
}

this won't compile, it gives the error " error C2059: syntax error : ';' ", and I have no idea whats wrong. So, could someone please tell me what's wrong...this is driving me insane...