Radim Vansa created ISPN-3423:
---------------------------------
Summary: 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: Galder ZamarreƱo
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