Skip to content

store a reference to the database file instead of a string

Valentin Boettcher requested to merge vboettcher/kstars:efficient_db_path into master

The references to elements in the unordered_set are stable so that causes no harm.

The reference_wrapper is pretty nice because we don't deal directly with pointers and it converts implicitly to a reference.

Edited by Valentin Boettcher

Merge request reports

Loading