Fix folly/FBString.h build error
authorChip Turner <chip@fb.com>
Wed, 10 Jul 2013 21:05:49 +0000 (14:05 -0700)
committerSara Golemon <sgolemon@fb.com>
Thu, 18 Jul 2013 18:55:35 +0000 (11:55 -0700)
Summary:
Looks like D880140 left off this part when it was committed.

This fixes the build.

Test Plan: runtests

Reviewed By: vini@fb.com

FB internal diff: D881445

folly/FBString.h

index 04b90a7c364ffc11a5d4106a5edbb84d579d4291..cc34fe668491447f71c46b06046236222583bfcb 100644 (file)
@@ -1532,7 +1532,7 @@ private:
     for (; b != e; ++b) {
       temp.push_back(*b);
     }
-    temp.append(i, end());
+    temp.append(i, cend());
     swap(temp);
     return begin() + pos;
   }