Changeset 348 for cpp/frams/genetics/f4
- Timestamp:
- 04/09/15 23:51:28 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/f4/f4_general.cpp
r287 r348 714 714 // transform geno from string to nodes 715 715 f4rootnode = new f4_node(); 716 res = f4_processrec( (const char*)genome, (unsigned)0, f4rootnode);716 res = f4_processrec(genome.c_str(), (unsigned)0, f4rootnode); 717 717 if ((res < 0) || (1 != f4rootnode->childCount())) 718 718 { … … 1197 1197 buf = (char*)realloc(buf, len + 1); 1198 1198 } 1199 strcpy(buf, (const char*)out);1199 strcpy(buf, out.c_str()); 1200 1200 } 1201 1201
Note: See TracChangeset
for help on using the changeset viewer.