summaryrefslogtreecommitdiffstats
path: root/src/Detector
diff options
context:
space:
mode:
Diffstat (limited to 'src/Detector')
-rw-r--r--src/Detector/Detector.cpp4
-rw-r--r--src/Detector/Detector.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Detector/Detector.cpp b/src/Detector/Detector.cpp
index 03abffe..5dde6d1 100644
--- a/src/Detector/Detector.cpp
+++ b/src/Detector/Detector.cpp
@@ -10,12 +10,12 @@
#include "Detector.h"
-Detector::Detector(const std::string& address, const std::string& configPath, const unsigned int timeIntervall, const int packetSize) :
+Detector::Detector(const std::string& address, const std::string& configPath, const unsigned int timeIntervall) :
timeIntervall_{timeIntervall},
numberOfDetectorModules_{27} {
modules_.reserve(numberOfDetectorModules_);
for(auto i = 0; i < numberOfDetectorModules_; i++){
- modules_.emplace_back(i, address, configPath, packetSize);
+ modules_.emplace_back(i, address, configPath);
}
}
diff --git a/src/Detector/Detector.h b/src/Detector/Detector.h
index 16f946a..1969dbd 100644
--- a/src/Detector/Detector.h
+++ b/src/Detector/Detector.h
@@ -17,7 +17,7 @@
class Detector {
public:
- Detector(const std::string& address, const std::string& configPath, const unsigned int timeIntervall, const int packetSize);
+ Detector(const std::string& address, const std::string& configPath, const unsigned int timeIntervall);
auto run() -> void;
private: