From ac3de9e69bc698a464dacb256a1b50512843f092 Mon Sep 17 00:00:00 2001 From: Chris Mc Date: Sat, 9 Jan 2021 19:27:36 -0500 Subject: [PATCH] :bug: Remove noexcept specifiers when using default (#121) the C++ ISO describes the expected behavoir where by default ctors may in fact be noexcept ref: https://en.cppreference.com/w/cpp/language/noexcept_spec resolves #118 --- include/jwt-cpp/jwt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/jwt-cpp/jwt.h b/include/jwt-cpp/jwt.h index 66f2649..4b95606 100644 --- a/include/jwt-cpp/jwt.h +++ b/include/jwt-cpp/jwt.h @@ -1842,9 +1842,9 @@ namespace jwt { basic_claim() = default; basic_claim(const basic_claim&) = default; - basic_claim(basic_claim&&) noexcept = default; + basic_claim(basic_claim&&) = default; basic_claim& operator=(const basic_claim&) = default; - basic_claim& operator=(basic_claim&&) noexcept = default; + basic_claim& operator=(basic_claim&&) = default; ~basic_claim() = default; JWT_CLAIM_EXPLICIT basic_claim(typename json_traits::string_type s)