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 39ad067 commit f6ff9f1Copy full SHA for f6ff9f1
heavy/lib/Nbdl/NbdlWriter.cpp
@@ -455,10 +455,10 @@ class ContextWriter : public NbdlWriter<ContextWriter> {
455
456
// Delete both copy constructors to support subsumption with `auto&&`.
457
OS << "class " << Op.getName() << " {\n";
458
+ OS << "public:\n";
459
WriteMemberDecls(Op);
- OS << "public:\n"
460
- << Op.getName() << '(' << Op.getName() << " const&) = delete;\n"
461
- << Op.getName() << '(' << Op.getName() << "&) = delete;\n";
+ OS << Op.getName() << '(' << Op.getName() << " const&) = delete;\n";
+ OS << Op.getName() << '(' << Op.getName() << "&) = delete;\n";
462
WriteConstructor(Op);
463
WriteAccessors();
464
OS << "};\n";
0 commit comments