diff --git a/src/storage/v3/request_helper.cpp b/src/storage/v3/request_helper.cpp index 0222f38ad..f9cbf8886 100644 --- a/src/storage/v3/request_helper.cpp +++ b/src/storage/v3/request_helper.cpp @@ -13,8 +13,8 @@ #include -#include "pretty_print_ast_to_original_expression.hpp" #include "storage/v3/bindings/db_accessor.hpp" +#include "storage/v3/bindings/pretty_print_ast_to_original_expression.hpp" #include "storage/v3/expr.hpp" #include "storage/v3/value_conversions.hpp" @@ -387,8 +387,7 @@ std::optional GetExpandOneResult( return std::nullopt; } - std::optional> src_vertex_properties; - src_vertex_properties = FillUpSourceVertexProperties(v_acc, req, storage::v3::View::NEW, schema); + auto src_vertex_properties = FillUpSourceVertexProperties(v_acc, req, storage::v3::View::NEW, schema); if (!src_vertex_properties) { return std::nullopt;