diff --git a/slsDetectorSoftware/src/Module.cpp b/slsDetectorSoftware/src/Module.cpp index 8501db0bf..17fee9928 100644 --- a/slsDetectorSoftware/src/Module.cpp +++ b/slsDetectorSoftware/src/Module.cpp @@ -2823,7 +2823,7 @@ void Module::restreamStopFromReceiver() { } int Module::sendModule(sls_detector_module *myMod, sls::ClientSocket &client) { - TLogLevel level = logDEBUG1; + constexpr TLogLevel level = logDEBUG1; LOG(level) << "Sending Module"; int ts = 0; int n = 0;