/in/foo.cc: In member function 'int PathTree::Find(std::__cxx11::string)':
/in/foo.cc:28:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < this->pPath[n].next.size(); i++) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:37:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < this->pPath[n].next.size(); i++) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In member function 'int PathTree::DirectFind(int, std::__cxx11::string)':
/in/foo.cc:46:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < this->pPath[nNode].next.size(); i++) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In member function 'void PathTree::Add(std::__cxx11::string, int)':
/in/foo.cc:56:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < s.length(); i++) {
~~^~~~~~~~~~~~
/in/foo.cc:66:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v.size(); i++) {
~~^~~~~~~~~~