diff --git a/Release/include/cpprest/asyncrt_utils.h b/Release/include/cpprest/asyncrt_utils.h index 3fbebd7d95..5978a2b051 100644 --- a/Release/include/cpprest/asyncrt_utils.h +++ b/Release/include/cpprest/asyncrt_utils.h @@ -356,7 +356,7 @@ namespace details /// Our own implementation of alpha numeric instead of std::isalnum to avoid /// taking global lock for performance reasons. /// - inline bool __cdecl is_alnum(const unsigned char uch) noexcept + inline bool __cdecl is_alnum(const unsigned char uch) CPPREST_NOEXCEPT { // test if uch is an alnum character // special casing char to avoid branches static constexpr bool is_alnum_table[UCHAR_MAX + 1] = @@ -379,7 +379,7 @@ namespace details /// Our own implementation of alpha numeric instead of std::isalnum to avoid /// taking global lock for performance reasons. /// - inline bool __cdecl is_alnum(const char ch) noexcept + inline bool __cdecl is_alnum(const char ch) CPPREST_NOEXCEPT { return (is_alnum(static_cast(ch))); } @@ -389,7 +389,7 @@ namespace details /// taking global lock for performance reasons. /// template - inline bool __cdecl is_alnum(Elem ch) noexcept + inline bool __cdecl is_alnum(Elem ch) CPPREST_NOEXCEPT { // assumes 'x' == L'x' for the ASCII range typedef typename std::make_unsigned::type UElem; diff --git a/Release/include/cpprest/http_headers.h b/Release/include/cpprest/http_headers.h index 2bc1975acd..c2e35f6079 100644 --- a/Release/include/cpprest/http_headers.h +++ b/Release/include/cpprest/http_headers.h @@ -79,19 +79,19 @@ class http_headers /// /// STL-style typedefs /// - typedef typename inner_container::key_type key_type; - typedef typename inner_container::key_compare key_compare; - typedef typename inner_container::allocator_type allocator_type; - typedef typename inner_container::size_type size_type; - typedef typename inner_container::difference_type difference_type; - typedef typename inner_container::pointer pointer; - typedef typename inner_container::const_pointer const_pointer; - typedef typename inner_container::reference reference; - typedef typename inner_container::const_reference const_reference; - typedef typename inner_container::iterator iterator; - typedef typename inner_container::const_iterator const_iterator; - typedef typename inner_container::reverse_iterator reverse_iterator; - typedef typename inner_container::const_reverse_iterator const_reverse_iterator; + typedef inner_container::key_type key_type; + typedef inner_container::key_compare key_compare; + typedef inner_container::allocator_type allocator_type; + typedef inner_container::size_type size_type; + typedef inner_container::difference_type difference_type; + typedef inner_container::pointer pointer; + typedef inner_container::const_pointer const_pointer; + typedef inner_container::reference reference; + typedef inner_container::const_reference const_reference; + typedef inner_container::iterator iterator; + typedef inner_container::const_iterator const_iterator; + typedef inner_container::reverse_iterator reverse_iterator; + typedef inner_container::const_reverse_iterator const_reverse_iterator; /// /// Constructs an empty set of HTTP headers.