Skip to content

Commit f884d91

Browse files
BillyONealras0219-msft
authored andcommitted
Attempt to repair VS2013 builds. (#833)
1 parent a24ae47 commit f884d91

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

Release/include/cpprest/asyncrt_utils.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ namespace details
356356
/// Our own implementation of alpha numeric instead of std::isalnum to avoid
357357
/// taking global lock for performance reasons.
358358
/// </summary>
359-
inline bool __cdecl is_alnum(const unsigned char uch) noexcept
359+
inline bool __cdecl is_alnum(const unsigned char uch) CPPREST_NOEXCEPT
360360
{ // test if uch is an alnum character
361361
// special casing char to avoid branches
362362
static constexpr bool is_alnum_table[UCHAR_MAX + 1] =
@@ -379,7 +379,7 @@ namespace details
379379
/// Our own implementation of alpha numeric instead of std::isalnum to avoid
380380
/// taking global lock for performance reasons.
381381
/// </summary>
382-
inline bool __cdecl is_alnum(const char ch) noexcept
382+
inline bool __cdecl is_alnum(const char ch) CPPREST_NOEXCEPT
383383
{
384384
return (is_alnum(static_cast<unsigned char>(ch)));
385385
}
@@ -389,7 +389,7 @@ namespace details
389389
/// taking global lock for performance reasons.
390390
/// </summary>
391391
template<class Elem>
392-
inline bool __cdecl is_alnum(Elem ch) noexcept
392+
inline bool __cdecl is_alnum(Elem ch) CPPREST_NOEXCEPT
393393
{
394394
// assumes 'x' == L'x' for the ASCII range
395395
typedef typename std::make_unsigned<Elem>::type UElem;

Release/include/cpprest/http_headers.h

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -79,19 +79,19 @@ class http_headers
7979
/// <summary>
8080
/// STL-style typedefs
8181
/// </summary>
82-
typedef typename inner_container::key_type key_type;
83-
typedef typename inner_container::key_compare key_compare;
84-
typedef typename inner_container::allocator_type allocator_type;
85-
typedef typename inner_container::size_type size_type;
86-
typedef typename inner_container::difference_type difference_type;
87-
typedef typename inner_container::pointer pointer;
88-
typedef typename inner_container::const_pointer const_pointer;
89-
typedef typename inner_container::reference reference;
90-
typedef typename inner_container::const_reference const_reference;
91-
typedef typename inner_container::iterator iterator;
92-
typedef typename inner_container::const_iterator const_iterator;
93-
typedef typename inner_container::reverse_iterator reverse_iterator;
94-
typedef typename inner_container::const_reverse_iterator const_reverse_iterator;
82+
typedef inner_container::key_type key_type;
83+
typedef inner_container::key_compare key_compare;
84+
typedef inner_container::allocator_type allocator_type;
85+
typedef inner_container::size_type size_type;
86+
typedef inner_container::difference_type difference_type;
87+
typedef inner_container::pointer pointer;
88+
typedef inner_container::const_pointer const_pointer;
89+
typedef inner_container::reference reference;
90+
typedef inner_container::const_reference const_reference;
91+
typedef inner_container::iterator iterator;
92+
typedef inner_container::const_iterator const_iterator;
93+
typedef inner_container::reverse_iterator reverse_iterator;
94+
typedef inner_container::const_reverse_iterator const_reverse_iterator;
9595

9696
/// <summary>
9797
/// Constructs an empty set of HTTP headers.

0 commit comments

Comments
 (0)