| 141 | } |
| 142 | |
| 143 | int complete() { |
| 144 | for (auto i = on_commit.begin(); |
| 145 | i != on_commit.end(); |
| 146 | on_commit.erase(i++)) { |
| 147 | (*i)->complete(0); |
| 148 | } |
| 149 | return 0; |
| 150 | } |
| 151 | |
| 152 | ~TransactionImpl_() override { |
| 153 | for (auto i = on_commit.begin(); |
no test coverage detected