prepare (1/3):
finished
make (2/3):
g++ -O2 -o main.o -c main.cpp
In file included from main.cpp:6:0:
unsorted_heap.h: In member function 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = point; COMP = compare_t]':
unsorted_heap.h:94:9: warning: function returns address of local variable [-Wreturn-local-addr]
return result;
^~~~~~
unsorted_heap.h:86:7: note: declared here
TYPE min = *it;
^~~
g++ -O2 -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully