prepare (1/3):
finished
make (2/3):
g++ -Wall -std=c++11 -O2 -o main main.cpp
In file included from main.cpp:4:0:
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = Point; COMP = Point::compare_t]':
main.cpp:127:1: required from here
unsorted_heap.h:86:7: warning: reference to local variable 'temp' returned [-Wreturn-local-addr]
TYPE temp = data[0];
^~~~
In file included from main.cpp:3:0:
binary_heap.h: In instantiation of 'void binary_heap<TYPE, COMP>::percolateDown(int) [with TYPE = Point; COMP = Point::compare_t]':
main.cpp:127:1: required from here
binary_heap.h:70:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 2*id; j <= size(); j = 2*id)
~~^~~~~~~~~
binary_heap.h:72:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j < this->size() && compare(data[j+1], data[j]))
finished
clean (3/3):
finished
all task finished, build successfully