prepare (1/3):
finished
make (2/3):
g++ -g -Wall -O2 -o main.o -c main.cpp
In file included from main.cpp:4:0:
binary_heap.h: In instantiation of 'void binary_heap<TYPE, COMP>::PercolateDown(int) [with TYPE = grid; COMP = compare_t]':
main.cpp:311:1: required from here
binary_heap.h:65:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 2 * Index; i <= data.size(); i = 2 * Index) {
binary_heap.h:66:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i < data.size() && !compare(data[i - 1], data[i + 1 - 1])) {
In file included from main.cpp:3:0:
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = grid; COMP = compare_t]':
main.cpp:311:1: required from here
unsorted_heap.h:91:10: warning: reference to local variable 'MinElement' returned [-Wreturn-local-addr]
TYPE MinElement = data[0];
^~~~~~~~~~
g++ -g -Wall -O2 -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully