From 9c00e47bac9793fbc8acdf739bd1cf010acf0fcd Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Sun, 23 Mar 2014 15:23:20 +0300 Subject: [PATCH] Remove register storage specifier Remove register storage specifier to silence clang warnings "'register' storage class specifier is deprecated". --- 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; }