File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77#pragma warning(disable : 4101)
88#endif
99
10- #if __GNUC__
11- #ifndef __clang__
12- #pragma GCC diagnostic push
13- #pragma GCC diagnostic ignored "-Wstringop-overflow="
14- #endif
15- #endif
16-
1710#include " rfl/AddStructName.hpp"
1811#include " rfl/AddTagsToVariants.hpp"
1912#include " rfl/AllOf.hpp"
9992#pragma warning(pop)
10093#endif
10194
102- #if __GNUC__
103- #ifndef __clang__
104- #pragma GCC diagnostic pop
105- #endif
106- #endif
107-
10895#endif
Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ class Error {
2020 Error () = default ;
2121
2222 Error (const std::string& _what) : what_(_what) {}
23- Error (std::string&& _what) : what_(std::move(_what)) {}
23+ Error (std::string _what) : what_(std::move(_what)) {}
2424
2525 ~Error () = default ;
2626
27- Error (const Error& e) = default ;
27+ Error (const Error& e) noexcept = default ;
2828 Error (Error&& e) noexcept = default ;
2929
3030 Error& operator =(const Error& _other) = default ;
You can’t perform that action at this time.
0 commit comments