Mercurial > hg > vamp-plugin-sdk
comparison rdf/generator/vamp-rdf-template-generator.cpp @ 308:34754c776530
* Further fix to version handling
author | cannam |
---|---|
date | Thu, 26 Aug 2010 09:30:53 +0000 |
parents | de3e865f92c8 |
children | bca93a149bd7 feac60b5d82b |
comparison
equal
deleted
inserted
replaced
307:ebc47e614cf5 | 308:34754c776530 |
---|---|
248 if (o.hasFixedBinCount) | 248 if (o.hasFixedBinCount) |
249 { | 249 { |
250 res+=" vamp:bin_count "+to_string(o.binCount)+" ;\n"; | 250 res+=" vamp:bin_count "+to_string(o.binCount)+" ;\n"; |
251 | 251 |
252 bool haveBinNames = false; | 252 bool haveBinNames = false; |
253 for (int i=0; i < o.binNames.size(); i++) { | 253 for (unsigned int i=0; i < o.binNames.size(); i++) { |
254 if (o.binNames[i] != "") { | 254 if (o.binNames[i] != "") { |
255 haveBinNames = true; | 255 haveBinNames = true; |
256 break; | 256 break; |
257 } | 257 } |
258 } | 258 } |
307 if (o.hasFixedBinCount) | 307 if (o.hasFixedBinCount) |
308 { | 308 { |
309 res+=" vamp:bin_count "+to_string(o.binCount)+" ;\n"; | 309 res+=" vamp:bin_count "+to_string(o.binCount)+" ;\n"; |
310 | 310 |
311 bool haveBinNames = false; | 311 bool haveBinNames = false; |
312 for (int i=0; i < o.binNames.size(); i++) { | 312 for (unsigned int i=0; i < o.binNames.size(); i++) { |
313 if (o.binNames[i] != "") { | 313 if (o.binNames[i] != "") { |
314 haveBinNames = true; | 314 haveBinNames = true; |
315 break; | 315 break; |
316 } | 316 } |
317 } | 317 } |