Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
darrylmasson committed Sep 1, 2020
1 parent b523958 commit ca9cb12
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DAQController.cc
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ void DAQController::ReadData(int link){
int err_val = 0;
std::list<data_packet*> local_buffer;
data_packet* dp = nullptr;
int local_size;
int local_size(0);
fRunning[link] = true;
while(fReadLoop){

Expand Down
2 changes: 1 addition & 1 deletion Options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ void Options::UpdateDAC(std::map<int, std::map<std::string, std::vector<double>>
return;
}

void Options::SaveBenchmarks(std::map<std::string, std::map<int, long>& counters, long bytes,
void Options::SaveBenchmarks(std::map<std::string, std::map<int, long>>& counters, long bytes,
std::string sid, std::map<std::string, double>& times) {
using namespace bsoncxx::builder::stream;
int level = GetInt("benchmark_level", 2);
Expand Down
1 change: 0 additions & 1 deletion StraxInserter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ StraxInserter::~StraxInserter(){
fLog->Entry(MongoLog::Message, "Still waiting for thread %lx to stop", fThreadId);
std::this_thread::sleep_for(std::chrono::seconds(2));
}
auto accum = [&](long tot, std::pair<int, long> it){return std::move(tot) + pair.second;};
std::stringstream ss;
ss << std::hex << fThreadId;
std::map<std::string, double> times {
Expand Down

0 comments on commit ca9cb12

Please sign in to comment.