summaryrefslogtreecommitdiff
path: root/boost/iostreams/filter/regex.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/iostreams/filter/regex.hpp')
-rwxr-xr-xboost/iostreams/filter/regex.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/iostreams/filter/regex.hpp b/boost/iostreams/filter/regex.hpp
index e6efd6d8ae..b202e7d3f8 100755
--- a/boost/iostreams/filter/regex.hpp
+++ b/boost/iostreams/filter/regex.hpp
@@ -58,7 +58,7 @@ private:
return;
iterator first(&src[0], &src[0] + src.size(), re_, flags_);
iterator last;
- const Ch* suffix = 0;
+ const Ch* suffix = &src[0];
for (; first != last; ++first) {
dest.insert( dest.end(),
first->prefix().first,