From 556abd92cc2824f8d7cac5f2f578b48a1dd69ccf Mon Sep 17 00:00:00 2001 From: Chris Stylianou Date: Wed, 8 Jan 2014 14:42:43 +0000 Subject: [PATCH] Update regex_raw_buffer.hpp Remove compiler hint 'register' as it is deprecated in C++11 standard (Annex D.2 - http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3690.pdf#appendix.D) --- include/boost/regex/v4/regex_raw_buffer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/regex/v4/regex_raw_buffer.hpp b/include/boost/regex/v4/regex_raw_buffer.hpp index 52d45a250..c7792e3d2 100644 --- a/include/boost/regex/v4/regex_raw_buffer.hpp +++ b/include/boost/regex/v4/regex_raw_buffer.hpp @@ -129,7 +129,7 @@ class BOOST_REGEX_DECL raw_storage { if(size_type(last - end) < n) resize(n + (end - start)); - register pointer result = end; + pointer result = end; end += n; return result; }