MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / SortOptions

Method SortOptions

vkconfig_core/executable.cpp:326–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324}
325
326void Executable::SortOptions() {
327 struct {
328 bool operator()(const ExecutableOptions& a, const ExecutableOptions& b) { return a.label < b.label; }
329 } sort_op;
330
331 std::sort(this->options_list.begin(), this->options_list.end(), sort_op);
332}
333
334static const size_t NOT_FOUND = static_cast<size_t>(-1);
335

Callers 3

RenameActiveOptionsMethod · 0.95
AddOptionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected