Skip to content

Commit f6ff9f1

Browse files
committed
[Heavy] Make nbdl context members public
1 parent 39ad067 commit f6ff9f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

heavy/lib/Nbdl/NbdlWriter.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -455,10 +455,10 @@ class ContextWriter : public NbdlWriter<ContextWriter> {
455455

456456
// Delete both copy constructors to support subsumption with `auto&&`.
457457
OS << "class " << Op.getName() << " {\n";
458+
OS << "public:\n";
458459
WriteMemberDecls(Op);
459-
OS << "public:\n"
460-
<< Op.getName() << '(' << Op.getName() << " const&) = delete;\n"
461-
<< Op.getName() << '(' << Op.getName() << "&) = delete;\n";
460+
OS << Op.getName() << '(' << Op.getName() << " const&) = delete;\n";
461+
OS << Op.getName() << '(' << Op.getName() << "&) = delete;\n";
462462
WriteConstructor(Op);
463463
WriteAccessors();
464464
OS << "};\n";

0 commit comments

Comments
 (0)