MCPcopy Create free account
hub / github.com/DFHack/dfhack / append

Function append

plugins/embark-assistant/finder_ui.cpp:151–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149 //==========================================================================================================
150
151 void append(sort_lists *sort_list, display_map_elements element) {
152 sort_lists::iterator iterator;
153 for (iterator = sort_list->begin(); iterator != sort_list->end(); ++iterator) {
154 if (iterator->key == element.key) {
155 return;
156 }
157 }
158 sort_list->push_back(element);
159 }
160
161 //==========================================================================================================
162

Callers 2

TiXmlStringClass · 0.85
ui_setupFunction · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected