Commit 163fbe4d authored by Andrew Twyman's avatar Andrew Twyman

Consistently use struct not class for records

parent 8e491de2
......@@ -140,7 +140,7 @@ class CppGenerator(spec: Spec) extends Generator(spec) {
// Requiring the extended class
if (r.ext.cpp) {
refs.hpp.add(s"class $self; // Requiring extended class")
refs.hpp.add(s"struct $self; // Requiring extended class")
refs.cpp.add("#include "+q("../" + spec.cppFileIdentStyle(ident) + "." + spec.cppHeaderExt))
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment