| 181 | } |
| 182 | |
| 183 | ~AcidCommitPtr() |
| 184 | { |
| 185 | if (!commit_lock) { |
| 186 | return; // previously aborted |
| 187 | } |
| 188 | |
| 189 | // point the existing read ptr to the newly written data |
| 190 | data._finishCommit(std::unique_ptr<T>::release()); |
| 191 | } |
| 192 | |
| 193 | void |
| 194 | abort() |
nothing calls this directly
no test coverage detected