J'ai le code suivant:
DString Experiment::FullShotPath(DString &relativepath);
(et "relativepath" est modifié dans la fonction) puis
void *Experiment::GetDataptr(const DString &name, DataType dType, DataAccess dAccess)
{
//First get the full data name
DString FileName;
size_t iLPos = name.RFind('\\');
[...]
FileName = FullShotPath(name.Left(iLPos));
Lorsque je compile, j'ai le message
Experiment.cpp: In member function `void* Experiment::GetDataptr(const DString&, DataType, DataAccess)':
Experiment.cpp:277: error: no matching function for call to `Experiment::FullShotPath(DString)'
Experiment.cpp:148: note: candidates are: DString Experiment::FullShotPath(DString&)
Et la, je bloque: j'ai bien essayé de faire (…)