Commit 7cfb0ce8 authored by 刘睿博's avatar 刘睿博 🎯

fix list unincluded

parent 32c9fbfa
#include <iostream> #include <iostream>
#include <list>
#include <string> #include <string>
#include <stdio.h> #include <stdio.h>
#include "Human.hpp" #include "Human.hpp"
...@@ -37,7 +38,7 @@ int main(int argc, char** argv){ ...@@ -37,7 +38,7 @@ int main(int argc, char** argv){
// std::list<int> list; // std::list<int> list;
// list.push_back(1); // list.push_back(1);
// for(auto i: list){ // for(auto i: list){
// list.remove(i); // list.remove(i); //TODO: Error 3 : why?
// } // }
return 0; return 0;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment