Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/UsageTests/ToStringOptional.tests.cpp
diff options
context:
space:
mode:
authorPhil Nash2019-05-21 00:04:19 +0100
committerPhil Nash2019-05-21 00:04:44 +0100
commit96355da34edf51cc813400115984050bd7c50630 (patch)
treecb154679a962f6c437e8d169a97516be574e5905 /projects/SelfTest/UsageTests/ToStringOptional.tests.cpp
parent71fce429afcebba7c32b6c46aced1013c6df9c0b (diff)
downloadcatch3-96355da34edf51cc813400115984050bd7c50630.tar.gz
StringRef no longer repoints m_start to m_data after c_str() on a substring.
This fixes an issue where a self-assignment of a StringRef copy would point into internally (and now dangling) data. (now self-assignment check is no longer needed)
Diffstat (limited to 'projects/SelfTest/UsageTests/ToStringOptional.tests.cpp')
0 files changed, 0 insertions, 0 deletions