fix a tiny issue when checking virtual functions in class_list.cpp.py
Merge pull request #1540 from hushell/class_list

fix a tiny issue when checking virtual functions in class_list.cpp.py