kuzudb / kuzu

Embeddable property graph database management system built for query speed and scalability. Implements Cypher.
https://kuzudb.com/
MIT License
1.07k stars 77 forks source link

Refactor: Replace const ptr with const reference in the code base #3395

Closed acquamarin closed 1 week ago

acquamarin commented 2 weeks ago

We should consider replacing const ptr with const reference in the code base for safety. For example:

LogicalType* ArrayType::getChildType(const LogicalType* type) {

can be changed to:

LogicalType ArrayType::getChildType(const LogicalType& type) {