Commit 2302d45a authored by Andrei Alexandrescu's avatar Andrei Alexandrescu Committed by Sara Golemon

Fix build breakage in hphp

Summary:
This should fix the build breakage in hphp caused by the latest fbstring changes (after being ported to engshare). Note that I'm flying blind here; I couldn't test with the hphp build because I don't have write access to engshare. @agallagher could you please make sure that this works after the fix?

fbconfig -r hphp && fbmake dbg

Test Plan: tested on folly

Reviewed By: tudorb@fb.com

FB internal diff: D880140
parent af1b0a8b
......@@ -447,6 +447,12 @@ template <class String> void clause11_21_4_6_4(String & test) {
pos = random(0, test.size());
// Uncomment below to see a bug in gcc
/*res = */test.insert(test.begin() + pos, il);
// Test with actual input iterators
stringstream ss;
ss << "hello cruel world";
auto i = istream_iterator<char>(ss);
test.insert(test.begin(), i, istream_iterator<char>());
}
template <class String> void clause11_21_4_6_5(String & test) {
......
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