Skip to content

Commit 63848d9

Browse files
committed
Adding missing noexcept on some move constructor/assignment operator definitions.
1 parent c6b6450 commit 63848d9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Release/include/cpprest/uri_parser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,5 +211,5 @@ namespace web { namespace details
211211
const utility::char_t **path_begin, const utility::char_t **path_end,
212212
const utility::char_t **query_begin, const utility::char_t **query_end,
213213
const utility::char_t **fragment_begin, const utility::char_t **fragment_end);
214-
};
214+
}
215215
}}

Release/src/json/json.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,14 +128,14 @@ web::json::value &web::json::value::operator=(const value &other)
128128
}
129129
return *this;
130130
}
131-
web::json::value::value(value &&other) :
131+
web::json::value::value(value &&other) _noexcept :
132132
m_value(std::move(other.m_value))
133133
#ifdef ENABLE_JSON_VALUE_VISUALIZER
134134
,m_kind(other.m_kind)
135135
#endif
136136
{}
137137

138-
web::json::value &web::json::value::operator=(web::json::value &&other)
138+
web::json::value &web::json::value::operator=(web::json::value &&other) _noexcept
139139
{
140140
if(this != &other)
141141
{

0 commit comments

Comments
 (0)