This is an automated email from the ASF dual-hosted git repository.
weibin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-graphar.git
The following commit(s) were added to refs/heads/main by this push:
new 24c71ac7 chore: fix a bug in high_level_writer_example.cc (#646)
24c71ac7 is described below
commit 24c71ac771e7878f65d89770d7832a21475eff6c
Author: Liu Jiajun <[email protected]>
AuthorDate: Sat Oct 26 23:59:49 2024 +0800
chore: fix a bug in high_level_writer_example.cc (#646)
Signed-off-by: Liu Jiajun <[email protected]>
---
cpp/examples/high_level_writer_example.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpp/examples/high_level_writer_example.cc
b/cpp/examples/high_level_writer_example.cc
index bead37a0..37522048 100644
--- a/cpp/examples/high_level_writer_example.cc
+++ b/cpp/examples/high_level_writer_example.cc
@@ -52,7 +52,7 @@ void vertices_builder() {
v.AddProperty(property_names[0], id[i]);
v.AddProperty(property_names[1], firstName[i]);
v.AddProperty(property_names[2], lastName[i]);
- v.AddProperty(property_names[2], gender[i]);
+ v.AddProperty(property_names[3], gender[i]);
ASSERT(builder.AddVertex(v).ok());
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]