Commit 47d7966a by Jonathan Wakely Committed by Jonathan Wakely

Adjust test to pass with old std::string

	* testsuite/21_strings/basic_string/lwg2946.cc: Adjust for
	compatibility with old COW std::string.

From-SVN: r251981
parent eaddd128
2017-09-11 Jonathan Wakely <jwakely@redhat.com>
* testsuite/21_strings/basic_string/lwg2946.cc: Adjust for
compatibility with old COW std::string.
2017-09-09 Gerald Pfeifer <gerald@pfeifer.com> 2017-09-09 Gerald Pfeifer <gerald@pfeifer.com>
* doc/xml/manual/allocator.xml: Adjust link for Hoard. * doc/xml/manual/allocator.xml: Adjust link for Hoard.
......
...@@ -29,7 +29,7 @@ int main() ...@@ -29,7 +29,7 @@ int main()
s.assign({"abc", 1}); s.assign({"abc", 1});
s.insert(0, {"abc", 1}); s.insert(0, {"abc", 1});
s.replace(0, 1, {"abc", 1}); s.replace(0, 1, {"abc", 1});
s.replace(s.cbegin(), s.cbegin(), {"abc", 1}); s.replace(s.begin(), s.begin(), {"abc", 1});
s.find({"abc", 1}); s.find({"abc", 1});
s.rfind({"abc", 1}); s.rfind({"abc", 1});
s.find_first_of({"abc", 1}); s.find_first_of({"abc", 1});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment