Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BugFix][C++] Fix bug: PropertyGroup with empty properties make VertexInfo/EdgeInfo dumps failed #393

Merged
merged 4 commits into from
Mar 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions cpp/include/gar/graph_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ class VertexInfo {
const std::string& prefix = "",
std::shared_ptr<const InfoVersion> version = nullptr);

~VertexInfo();

/**
* Adds a property group to the vertex info and returns a new VertexInfo
*
Expand Down Expand Up @@ -402,6 +404,8 @@ class EdgeInfo {
const std::string& prefix = "",
std::shared_ptr<const InfoVersion> version = nullptr);

~EdgeInfo();

/**
* Add an adjacency list information to the edge info and returns a new
* EdgeInfo. The adjacency list information indicating the adjacency list
Expand Down Expand Up @@ -699,6 +703,8 @@ class GraphInfo {
std::shared_ptr<const InfoVersion> version = nullptr,
const std::unordered_map<std::string, std::string>& extra_info = {});

~GraphInfo();

/**
* @brief Loads the input file as a `GraphInfo` instance.
* @param path The path of the YAML file.
Expand Down
Loading
Loading