Skip to content

Commit

Permalink
Changed unique to shared
Browse files Browse the repository at this point in the history
  • Loading branch information
Dtenwolde committed Jul 19, 2023
1 parent 65b0dab commit 5d3ee94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/include/duckdb/parser/property_graph_table.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ class PropertyGraphTable {

void Serialize(Serializer &serializer) const;

static unique_ptr<PropertyGraphTable> Deserialize(Deserializer &deserializer);
static shared_ptr<PropertyGraphTable> Deserialize(Deserializer &deserializer);
};
} // namespace duckdb
2 changes: 1 addition & 1 deletion src/parser/property_graph_table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ void PropertyGraphTable::Serialize(Serializer &serializer) const {
writer.Finalize();
}

unique_ptr<PropertyGraphTable> PropertyGraphTable::Deserialize(Deserializer &deserializer) {
shared_ptr<PropertyGraphTable> PropertyGraphTable::Deserialize(Deserializer &deserializer) {
auto pg_table = make_uniq<PropertyGraphTable>();
FieldReader reader(deserializer);
pg_table->table_name = reader.ReadRequired<string>();
Expand Down

0 comments on commit 5d3ee94

Please sign in to comment.