#Help fixing "no matching function for call to (...)"

1 messages · Page 1 of 1 (latest)

lament pecan
#

I don't understand why I get an error saying that my function parameters are wrong... Please enlighten me :,))

timid quarryBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

lament pecan
#

error: no matching function for call to 'Motor::CriarPeloXML(ObjectoXML*&, int*&, int*&, int*&, int&)

note: candidate: 'virtual void Motor::CriarPeloXML(ObjetoXML*, int*, int*, int*, int)
#

These are the errors I get ^^

sharp yarrow
#

it should probably say why the candidate is not eligible

lament pecan
#
note:   no known conversion for argument 1 from 'ObjectoXML*' to 'ObjetoXML*'```
lament pecan
proven lark
#

Yep

#

@lament pecan They are different types

lament pecan
#

ye just looked at it now xDDD

#

I mispelled

proven lark
#

There are probably other candidates listed too

lament pecan
#

just fixed my problem

#

thank you guys! @proven lark @sharp yarrow

#

!solved