Skip to content

Commit 13c6f16

Browse files
committed
Fixing missing noexcept on error_category::name implementation.
1 parent 0fb1676 commit 13c6f16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Release/include/cpprest/json.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -678,12 +678,12 @@ namespace json
678678
class json_error_category_impl : public std::error_category
679679
{
680680
public:
681-
virtual const char* json_error_category_impl::name() const override
681+
virtual const char* name() const CPPREST_NOEXCEPT override
682682
{
683683
return "json";
684684
}
685685

686-
virtual std::string json_error_category_impl::message(int ev) const override
686+
virtual std::string message(int ev) const override
687687
{
688688
switch (ev)
689689
{

0 commit comments

Comments
 (0)