MCPcopy Create free account
hub / github.com/Snapchat/djinni / run_sort

Method run_sort

examples/handwritten-src/cpp/sort_items_impl.cpp:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40ItemList SortItems::run_sort(const ItemList & items) {
41 auto lines = items.items;
42 std::sort(lines.begin(), lines.end(), std::less<std::string>());
43 return ItemList(lines);
44}
45
46}

Callers

nothing calls this directly

Calls 2

sortFunction · 0.85
ItemListInterface · 0.50

Tested by

no test coverage detected