E2013 'function1' cannot be distinguished from 'function2' (C++)
Go Up to Compiler Errors And Warnings (C++) Index
The parameter type lists in the declarations of these two functions do not differ enough to tell them apart.
Try changing the order of parameters or the type of a parameter in one declaration.