prepare (1/3):
finished
make (2/3):
g++ -g -Wall -O2 -o main.o -c main.cpp
In file included from main.cpp:16:0:
unsorted_heap.h: In member function 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = seed; COMP = compare_t]':
unsorted_heap.h:97:13: warning: function returns address of local variable [-Wreturn-local-addr]
return *min;
^~~
unsorted_heap.h:91:10: note: declared here
TYPE M=data[0];
^
g++ -g -Wall -O2 -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully