xsco / libdjinterop

C++ library for access to DJ record libraries
GNU Lesser General Public License v3.0
49 stars 8 forks source link

Remove transaction guard from public API #87

Closed mr-smidge closed 1 year ago

mr-smidge commented 1 year ago

The transaction_guard class has not turned out to have many use cases in the public API: most operations don't need it, or can be performed idempotently. As such, it should be removed from the public API to simplify things.

However, its initial implementation still serves a purpose as a RAII type for nestable SQLite transactions, and so it can be retained as an internal utility.