Changeset 1280 for cpp/frams/model
- Timestamp:
- 09/10/23 01:51:57 (15 months ago)
- Location:
- cpp/frams/model
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/model/autoname.cpp
r1130 r1280 59 59 static void przeplatanka(char *out, char *in1, char *in2) 60 60 { 61 int d1 = strlen(in1), d2 =strlen(in2);61 int d1 = (int)strlen(in1), d2 = (int)strlen(in2); 62 62 int p1 = 0, p2 = 0; 63 63 int pp = d1 + d2; -
cpp/frams/model/model.cpp
r1215 r1280 610 610 int Model::getCheckpointCount() 611 611 { 612 return checkpoints.size();612 return (int)checkpoints.size(); 613 613 } 614 614 -
cpp/frams/model/modelparts.h
r1122 r1280 229 229 SString name, longname, description; 230 230 ParamEntry *props; 231 bool ownedprops; //< destructor will free props using ParamObject::freeParamTab231 bool ownedprops; //< destructor will free props using ParamObject::freeParamTab 232 232 paInt prefinputs, prefoutput; 233 233 paInt preflocation; … … 304 304 return vectordata; 305 305 } 306 void setSymbolGlyph(int *data, bool owned = 1)306 void setSymbolGlyph(int *data, bool owned = true) 307 307 { 308 308 if (vectordata && ownedvectordata) delete[]vectordata; 309 vectordata = data; ownedvectordata = owned; 309 vectordata = data; 310 ownedvectordata = owned; 310 311 } 311 312 /** additional information about how the neuron should be drawn -
cpp/frams/model/similarity/simil-match.cpp
r1044 r1280 69 69 70 70 // return the result 71 return m_apvMatched[Obj]->size();71 return (int)m_apvMatched[Obj]->size(); 72 72 } 73 73
Note: See TracChangeset
for help on using the changeset viewer.