Skip to content

Commit

Permalink
Fix text in C++ default statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Crayon2000 committed Jun 29, 2024
1 parent cd269d7 commit 70ec328
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1627,7 +1627,9 @@ export class CPlusPlusRenderer extends ConvenienceRenderer {
);
});
this.emitLine(
`default: throw std::runtime_error("Unexpected value in enumeration \\"${enumName}\\": " + std::to_string(static_cast<int>(x)));`
`default: throw std::runtime_error("Unexpected value in enumeration \\"`,
enumName,
`\\": " + std::to_string(static_cast<int>(x)));`
);
});
}
Expand Down

0 comments on commit 70ec328

Please sign in to comment.