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 <[email protected]>
AuthorDate: Sun Oct 20 12:23:45 2024 +0800

    chore: fix a bug in high_level_writer_example.cc
    
    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]

Reply via email to