Argument of type 'class basic_string<char,std::char_traits<char>,std::allocator<char> >' could not be converted to
'std::basic_string<char,std::char_traits<char>,std::allocator<char> > &'.
如何改啊 谢谢了啊
...全文
30211打赏收藏
unix c++ 编译问题
大哥大姐 帮忙看下这个编译错误啊 Argument of type 'class basic_string<char,std::char_traits,std::allocator >' could not be converted to 'std::basic_string<char,std::char_traits,std::allocator > &'. 如何改啊 谢谢了啊
编译错误:
Error 226: "OcpMsgParser.cpp", line 1720 # No appropriate function found for call of 'setAvpValue'. Last viable candidate was "int
OcpMsgParser::setAvpValue(char *,std::basic_string<char,std::char_traits<char>,std::allocator<char> > &)" ["OcpMsgParser.cpp",
line 790]. Argument of type 'class basic_string<char,std::char_traits<char>,std::allocator<char> >' could not be converted to
'std::basic_string<char,std::char_traits<char>,std::allocator<char> > &'.