| # | Line 178 | Line 178 | bool BlockSnapshotManager::hasZeroRefBlock(){ | |
|---|---|---|
| 178 | } | |
| 179 | ||
| 180 | bool BlockSnapshotManager::hasZeroRefBlock(){ | |
| 181 | < | return std::find(activeRefCount_.begin(), activeRefCount_.end(), 0); |
| 181 | > | return std::find(activeRefCount_.begin(), activeRefCount_.end(), 0) != activeRefCount_.end() ? true : false; |
| 182 | } | |
| 183 | ||
| 184 | int BlockSnapshotManager::getFirstZeroRefBlock(){ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |