-
-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
/Users/jviotti/Projects/core/src/core/json/include/sourcemeta/core/json_value.h:219:3: error: move constructors should be marked noexcept [cppcoreguidelines-noexcept-move-operations,performance-noexcept-move-constructor,-warnings-as-errors]
219 | JSON(JSON &&);
| ^
| noexcept
/Users/jviotti/Projects/core/src/core/json/include/sourcemeta/core/json_value.h:221:8: error: move assignment operators should be marked noexcept [cppcoreguidelines-noexcept-move-operations,performance-noexcept-move-constructor,-warnings-as-errors]
221 | auto operator=(JSON &&) -> JSON &;
| ^
| noexcept
/Users/jviotti/Projects/core/src/core/json/json_value.cc:120:7: error: move constructors should be marked noexcept [cppcoreguidelines-noexcept-move-operations,performance-noexcept-move-constructor,-warnings-as-errors]
120 | JSON::JSON(JSON &&other) : current_type{other.current_type} {
| ^
| noexcept
/Users/jviotti/Projects/core/src/core/json/json_value.cc:177:12: error: move assignment operators should be marked noexcept [cppcoreguidelines-noexcept-move-operations,performance-noexcept-move-constructor,-warnings-as-errors]
177 | auto JSON::operator=(JSON &&other) -> JSON & {
| ^
| noexcept
/Users/jviotti/Projects/core/src/core/uri/include/sourcemeta/core/uri.h:63:3: error: move constructors should be marked noexcept [cppcoreguidelines-noexcept-move-operations,performance-noexcept-move-constructor,-warnings-as-errors]
63 | URI(URI &&other);
| ^
| noexcept
/Users/jviotti/Projects/core/src/core/uri/uri.cc:137:6: error: move constructors should be marked noexcept [cppcoreguidelines-noexcept-move-operations,performance-noexcept-move-constructor,-warnings-as-errors]
137 | URI::URI(URI &&other)
| ^
138 | : data{std::move(other.data)}, internal{std::move(other.internal)} {
| noexcept
Metadata
Metadata
Assignees
Labels
No labels