We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97a46f9 commit 8b7643bCopy full SHA for 8b7643b
gen/src/builtin.rs
@@ -262,7 +262,7 @@ pub(super) fn write(out: &mut OutFile) {
262
writeln!(out, "public:");
263
writeln!(
264
out,
265
- " Fail(::rust::repr::PtrLen &throw$) : throw$(throw$) {{}}"
+ " Fail(::rust::repr::PtrLen &throw$) noexcept : throw$(throw$) {{}}",
266
);
267
writeln!(out, " void operator()(const char *) noexcept;");
268
writeln!(out, " void operator()(const std::string &) noexcept;");
src/cxx.cc
@@ -535,7 +535,7 @@ class Fail final {
535
repr::PtrLen &throw$;
536
537
public:
538
- Fail(repr::PtrLen &throw$) : throw$(throw$) {}
+ Fail(repr::PtrLen &throw$) noexcept : throw$(throw$) {}
539
void operator()(const char *) noexcept;
540
void operator()(const std::string &) noexcept;
541
};
0 commit comments