Changeset 18142
- Timestamp:
- 02/18/15 11:07:36 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/ratescan.cc
r18133 r18142 79 79 void UpdateProc() 80 80 { 81 const array<uint32_t,3> v = {{ fThresholdMin, fThresholdMax, fThresholdStep}};81 const array<uint32_t,3> v = {{ uint32_t(fThresholdMin), uint32_t(fThresholdMax), uint32_t(fThresholdStep) }}; 82 82 fDimProc.Update(v); 83 83 } … … 237 237 // return kSM_FatalError; 238 238 239 string fType= evt.Ptr<char>(12);239 const string fType = evt.Ptr<char>(12); 240 240 241 241 auto it = fTypes.find(fType); … … 251 251 } 252 252 } 253 //const config &conf = it->second; 254 255 if (it!=fTypes.end()) 256 { 257 fCounterMax=it->second.fCounterMax; 258 fResolution=it->second.fResolution; 259 } 253 254 fCounterMax = it->second.fCounterMax; 255 fResolution = it->second.fResolution; 260 256 261 257 fCommand = "FTM_CONTROL/"+command;
Note:
See TracChangeset
for help on using the changeset viewer.