prepare (1/3):
finished
make (2/3):
g++ -g -Wall -o main.o -c main.cpp
In file included from main.cpp:5:0:
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = point; COMP = compare_t]':
main.cpp:256:1: required from here
unsorted_heap.h:95:8: warning: reference to local variable 'min' returned [-Wreturn-local-addr]
TYPE min = data[0];
^~~
main.cpp: In member function 'bool compare_t::operator()(point, point) const':
main.cpp:31:2: warning: control reaches end of non-void function [-Wreturn-type]
}
^
g++ -g -Wall -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully