You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@graphar.apache.org by ji...@apache.org on 2024/10/20 04:23:48 UTC
(incubator-graphar) 01/01: chore: fix a bug in high_level_writer_example.cc
This is an automated email from the ASF dual-hosted git repository.
jiajun pushed a commit to branch jasinliu-patch-1
in repository https://gitbox.apache.org/repos/asf/incubator-graphar.git
commit e0c03e7f4be393a2b2d5e7578accd670e38bdc4d
Author: Liu Jiajun <85...@users.noreply.github.com>
AuthorDate: Sun Oct 20 12:23:45 2024 +0800
chore: fix a bug in high_level_writer_example.cc
Signed-off-by: Liu Jiajun <85...@users.noreply.github.com>
---
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: commits-unsubscribe@graphar.apache.org
For additional commands, e-mail: commits-help@graphar.apache.org