MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / sortContainers

Method sortContainers

source/ui/data/boxedwineData.cpp:234–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234void BoxedwineData::sortContainers() {
235 std::sort(BoxedwineData::containers.begin(), BoxedwineData::containers.end(), [](BoxedContainer* a, BoxedContainer* b) {
236 return a->getName().compareTo(b->getName(), true) < 0;
237 });
238}

Callers

nothing calls this directly

Calls 5

compareToMethod · 0.80
sortFunction · 0.50
beginMethod · 0.45
endMethod · 0.45
getNameMethod · 0.45

Tested by

no test coverage detected