Changeset 652 for CMT/HEAD/source/cmt_syntax.cxx
- Timestamp:
- Nov 5, 2013, 3:40:52 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/source/cmt_syntax.cxx
r607 r652 212 212 int line_number) 213 213 { 214 214 /* 215 215 cmt_string cmtpath; 216 216 cmt_string offset; … … 219 219 220 220 Project* p = Project::find_by_cmtpath (cmtpath); 221 */ 222 Project* p = const_cast<Project*>(use->get_project ()); 223 // const Project* p = use->get_project (); 221 224 222 225 for (int i = 1; i < words.size (); i++) … … 1060 1063 int line_number) 1061 1064 { 1065 /* 1062 1066 cmt_string cmtpath; 1063 1067 cmt_string offset; … … 1066 1070 1067 1071 Project* p = Project::find_by_cmtpath (cmtpath); 1072 */ 1073 Project* p = const_cast<Project*>(use->get_project ()); 1074 // const Project* p = use->get_project (); 1068 1075 1069 1076 for (int i = 1; i < words.size (); i++) … … 1164 1171 int line_number) 1165 1172 { 1173 /* 1166 1174 cmt_string cmtpath; 1167 1175 cmt_string offset; … … 1170 1178 1171 1179 Project* p = Project::find_by_cmtpath (cmtpath); 1180 */ 1181 Project* p = const_cast<Project*>(use->get_project ()); 1182 // const Project* p = use->get_project (); 1172 1183 1173 1184 for (int i = 1; i < words.size (); i++) … … 1403 1414 // 1404 1415 1405 Project* p = use->get_project ();1416 const Project* p = use->get_project (); 1406 1417 if (p != 0) 1407 1418 {
Note: See TracChangeset
for help on using the changeset viewer.