Changeset 13800
- Timestamp:
- 10/22/12 15:20:34 (12 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/bamg/Mesh.cpp
r13761 r13800 1008 1008 1009 1009 /*Intermediary*/ 1010 int i,k,num; 1011 int verbose=0; 1010 int i,k; 1012 1011 1013 1012 /*output*/ 1014 1013 int* index=NULL; 1014 int num=0; 1015 1015 1016 1016 /*Get number of triangles*/ … … 1023 1023 if (k){ 1024 1024 index=xNew<int>(3*k); 1025 num=0;1026 1025 for (i=0;i<nbt;i++){ 1027 1026 Triangle &t=triangles[i]; -
issm/trunk-jpl/src/c/shared/Exceptions/Exceptions.cpp
r13701 r13800 68 68 } 69 69 70 return buffer.str().c_str(); 70 const string buffer2 = buffer.str(); 71 return buffer2.c_str(); 71 72 }/*}}}*/ 72 73 const char* ErrorException::PythonReport() const{/*{{{*/ … … 83 84 } 84 85 85 return buffer.str().c_str(); 86 const string buffer2 = buffer.str(); 87 return buffer2.c_str(); 86 88 }/*}}}*/
Note:
See TracChangeset
for help on using the changeset viewer.