Fix use-after-destroy in epicsRefSnapshopCurrent

This commit is contained in:
JJL772
2023-07-17 15:00:05 -07:00
committed by mdavidsaver
parent 04fcb7e38f
commit eac2a8e70f
2 changed files with 4 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ using std::string;
namespace epics { namespace pvData {
static std::vector<string> split(string commaSeparatedList) {
static std::vector<string> split(const string& commaSeparatedList) {
string::size_type numValues = 1;
string::size_type index=0;
while(true) {