foo.cc: In member function 'void MyClass::click()':
foo.cc:18:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque<MyStruct>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for (int i=0; i <q.size(); i++)
| ~~^~~~~~~~~
foo.cc: In member function 'void MyClass::_close()':
foo.cc:32:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque<MyStruct>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for(int i=0;i<q.size();i++)
| ~^~~~~~~~~
foo.cc: In member function 'void MyClass::move()':
foo.cc:42:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque<MyStruct>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | for(int i=0;i<q.size();i++)
| ~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务