C2761 error

Hi everybody
When i add new function to my project, i allways have this message:
error C2761: 'void CustomFiberThread::GetWeaponTypeModel(Scripting::eWeapon)' : member function redeclaration not allowed

My project:
void CustomFiberThread::GetWeaponTypeModel(Scripting::eWeapon weapon);
PLS HELP ME !
This means that you have re-declared a member function... If this is not the problem, I need more of your code to locate the problem.
****
Last edited on
Line 106 - Why is that there?
That is a declaration.

You (should) have already made a declaration for the function in the class declaration (in the header file).
Line 106 should be a function definition
Topic archived. No new replies allowed.