Changeset 11416
- Timestamp:
- 07/15/11 13:42:49 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/datalogger.cc
r11415 r11416 1062 1062 //first, let's backup the datalogger/message service subscription 1063 1063 shared_ptr<DimStampedInfo> messageBackup; 1064 bool dataloggerMessageFound = false;1065 1064 const SubscriptionsListType::iterator x = fServiceSubscriptions.find("DATA_LOGGER"); 1066 1065 if (x != fServiceSubscriptions.end()) … … 1068 1067 const map<string, SubscriptionType>::iterator y = x->second.find("MESSAGE"); 1069 1068 if (y != x->second.end()) 1070 {1071 dataloggerMessageFound = true;1072 1069 messageBackup = y->second.dimInfo; 1073 }1074 1070 } 1075 1071 … … 1096 1092 1097 1093 //release message service before closing nightly log file 1098 if ( dataloggerMessageFound)1094 if (messageBackup) 1099 1095 messageBackup.reset(); 1100 1096
Note:
See TracChangeset
for help on using the changeset viewer.