| 114 | } |
| 115 | |
| 116 | std::pair<double, double> CSongLengthScanner::GetSecondsCount() { |
| 117 | Compute(); |
| 118 | return {sec1_, sec2_}; |
| 119 | } |
| 120 | |
| 121 | void CSongLengthScanner::Compute() { |
| 122 | if (std::exchange(scanned_, true)) |
no outgoing calls
no test coverage detected