| 233 | const ExecutableOptions* Executable::GetActiveOptions() const { return const_cast<Executable*>(this)->GetActiveOptions(); } |
| 234 | |
| 235 | bool Executable::HasActiveOptions() const { |
| 236 | if (this->options_list.empty()) { |
| 237 | return false; |
| 238 | } |
| 239 | |
| 240 | return this->GetActiveOptions() != nullptr; |
| 241 | } |
| 242 | |
| 243 | Path Executable::GetLocalLayersSettingsPath() const { |
| 244 | assert(this->GetActiveOptions() != nullptr); |