| 296 | } |
| 297 | |
| 298 | int ExecutableManager::GetActiveExecutableIndex() const { |
| 299 | for (std::size_t i = 0, n = this->data.size(); i < n; ++i) { |
| 300 | if (this->data[i].path == this->active_executable) { |
| 301 | return static_cast<int>(i); |
| 302 | } |
| 303 | } |
| 304 | |
| 305 | return -1; // Not found, but the list is present, so return the first item. |
| 306 | } |
| 307 | |
| 308 | int ExecutableManager::GetVulkanInfoIndex() const { |
| 309 | for (std::size_t i = 0, n = this->data.size(); i < n; ++i) { |
no outgoing calls