Skip to content

Commit ca9cb12

Browse files
committed
Typos
1 parent b523958 commit ca9cb12

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

DAQController.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ void DAQController::ReadData(int link){
248248
int err_val = 0;
249249
std::list<data_packet*> local_buffer;
250250
data_packet* dp = nullptr;
251-
int local_size;
251+
int local_size(0);
252252
fRunning[link] = true;
253253
while(fReadLoop){
254254

Options.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ void Options::UpdateDAC(std::map<int, std::map<std::string, std::vector<double>>
382382
return;
383383
}
384384

385-
void Options::SaveBenchmarks(std::map<std::string, std::map<int, long>& counters, long bytes,
385+
void Options::SaveBenchmarks(std::map<std::string, std::map<int, long>>& counters, long bytes,
386386
std::string sid, std::map<std::string, double>& times) {
387387
using namespace bsoncxx::builder::stream;
388388
int level = GetInt("benchmark_level", 2);

StraxInserter.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ StraxInserter::~StraxInserter(){
7272
fLog->Entry(MongoLog::Message, "Still waiting for thread %lx to stop", fThreadId);
7373
std::this_thread::sleep_for(std::chrono::seconds(2));
7474
}
75-
auto accum = [&](long tot, std::pair<int, long> it){return std::move(tot) + pair.second;};
7675
std::stringstream ss;
7776
ss << std::hex << fThreadId;
7877
std::map<std::string, double> times {

0 commit comments

Comments
 (0)