summaryrefslogtreecommitdiff
path: root/boost/iostreams/filter/regex.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/iostreams/filter/regex.hpp')
-rw-r--r--boost/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 e6efd6d..b202e7d 100644
--- 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,