Commit fe5bcec2 authored by jaco's avatar jaco

mac new compiling error fixed

parent 109860a7
...@@ -129,7 +129,7 @@ static inline int findFromList( const T &word, const vector<T> &strList ) ...@@ -129,7 +129,7 @@ static inline int findFromList( const T &word, const vector<T> &strList )
{ {
vector<String>::iterator index = std::distance( strList.begin(), it ); vector<String>::iterator index = std::distance( strList.begin(), it );
//cout << "index" <<" "<< index << endl; //cout << "index" <<" "<< index << endl;
return index; return int(index);
} }
} }
/*template<typename T> /*template<typename T>
......
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