SymSpellPlusPlus icon indicating copy to clipboard operation
SymSpellPlusPlus copied to clipboard

SuggestItem::ShallowCopy returns dangling reference

Open tomalakgeretkal opened this issue 6 years ago • 0 comments

Turn on compiler warnings - this function returns a reference to a local variable.

Looks like returning by value will do.

tomalakgeretkal avatar May 31 '19 13:05 tomalakgeretkal