0_0_38160190_6015.cpp: In function 'int main()':
0_0_38160190_6015.cpp:19:38: error: converting to 'std::priority_queue<patient>' from initializer list would use explicit constructor 'std::priority_queue<_Tp, _Sequence, _Compare>::priority_queue(const _Compare&, _Sequence&&) [with _Tp = patient; _Sequence = std::vector<patient, std::allocator<patient> >; _Compare = std::less<patient>]'
for (auto &item: queue) item = {};
^
|