[
https://issues.jboss.org/browse/ISPN-3423?page=com.atlassian.jira.plugin....
]
Radim Vansa updated ISPN-3423:
------------------------------
Assignee: Mircea Markus (was: Galder ZamarreƱo)
Dangling reference in C++ client
--------------------------------
Key: ISPN-3423
URL:
https://issues.jboss.org/browse/ISPN-3423
Project: Infinispan
Issue Type: Bug
Components: Remote protocols
Reporter: Radim Vansa
Assignee: Mircea Markus
Priority: Minor
I've noticed that {{Configuration::getProtocolVerision()}} produces a dangling
reference - the {{std::string}} is autoconstructed on place from the {{const char *}} and
then we return a reference to this temporary variable.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira