diff --git a/src/lgraph_api/lgraph_result.cpp b/src/lgraph_api/lgraph_result.cpp index fd1b9c894d..77e8799532 100644 --- a/src/lgraph_api/lgraph_result.cpp +++ b/src/lgraph_api/lgraph_result.cpp @@ -391,7 +391,8 @@ void Result::Load(const std::string &output) { auto title = col.key(); switch (GetType(title)) { case LGraphType::INTEGER: - record->Insert(title, FieldData(std::forward(col.value().get()))); + record->Insert(title, + FieldData(std::forward(col.value().get()))); break; case LGraphType::FLOAT: record->Insert(title, FieldData(std::forward(col.value().get())));