miker2 / flexi_config_reader

A flexible configuration format that supports templated tables and referencing of existing keys.
MIT License
3 stars 1 forks source link

Clone methods fail to deep-copy objects #55

Closed miker2 closed 2 years ago

miker2 commented 2 years ago

When creating a struct from a reference and a proto, the proto is not being deep-copied, so when certain operations occur, they modify the underlying proto.

A proper deep-copy clone method needs to be implemented for the ConfigProto class.