Clarify name of C++ codegen for C++ vector
diff --git a/gen/write.rs b/gen/write.rs
index 94de4fb..5898654 100644
--- a/gen/write.rs
+++ b/gen/write.rs
@@ -951,7 +951,7 @@
if let Type::Ident(inner) = &ptr.inner {
if Atom::from(inner).is_none() {
out.next_section();
- write_vector(out, ty, inner, types);
+ write_cxx_vector(out, ty, inner, types);
}
}
}
@@ -1168,7 +1168,7 @@
writeln!(out, "}}");
}
-fn write_vector(out: &mut OutFile, vector_ty: &Type, element: &Ident, types: &Types) {
+fn write_cxx_vector(out: &mut OutFile, vector_ty: &Type, element: &Ident, types: &Types) {
let element = Type::Ident(element.clone());
let inner = to_typename(&out.namespace, &element);
let instance = to_mangled(&out.namespace, &element);