The code
g_CDioService->getDioPrjMgr()->NotifyBtMacAddress(std::string(path));
Declaration
void NotifyBtMacAddress(const std::string &path);
Eclipse emphasizes NotifyBtMacAddressand speaks
Invalid arguments 'Candidates are: void NotifyBtMacAddress(const ? &)'
I even tried to explicitly apply it to the expected type:
g_CDioService->getDioPrjMgr()->NotifyBtMacAddress(const_cast<const std::string & >(std::string(path)));
But still it gives the same (red underlined) error / warning.
I have access to the function source
void CDioPrjMgr::NotifyBtMacAddress(const std::string &path){
...
source
share