[Bug c++/41508] error: no matching function for call to ...
mwarshofsk at aol dot com
gcc-bugzilla@gcc.gnu.org
Tue Sep 29 19:32:00 GMT 2009
------- Comment #4 from mwarshofsk at aol dot com 2009-09-29 19:32 -------
Here's the definition for that call ... I think you're on to something
String get_job_title_mgmt_ind() const { return _jobTitleMgmtInd; };
When I change the constructor to "non reference" paramters it seems to compile
fine. I've got dozens of these to go through. I suspect they're probably all
similar. Is there a better fix than removing the reference parameter? I'm not
really sure why the old code has it as a reference anyway. The constructor is
not looking to change that value anyway ... its just using it to initialize a
data member.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41508
More information about the Gcc-bugs
mailing list