Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information:

Commit cd53294b authored by Michael Ott's avatar Michael Ott
Browse files

Make parameters to Sensor constructor const

parent 0daa9e2d
......@@ -18,8 +18,8 @@ namespace DCDB {
class Sensor {
Sensor(DCDB::Connection* connection, std::string& publicName);
Sensor(Connection* connection, PublicSensor& sensor);
Sensor(DCDB::Connection* connection, const std::string& publicName);
Sensor(Connection* connection, const PublicSensor& sensor);
virtual ~Sensor();
void query(std::list<SensorDataStoreReading>& reading, TimeStamp& start, TimeStamp& end, QueryAggregate aggregate = AGGREGATE_NONE);
......@@ -11,7 +11,7 @@
namespace DCDB {
Sensor::Sensor(Connection* connection, std::string& publicName) {
Sensor::Sensor(Connection* connection, const std::string& publicName) {
/* Initialize the SensorConfig interface */
sensorConfig = new SensorConfig(connection);
......@@ -33,7 +33,7 @@ namespace DCDB {
Sensor::Sensor(Connection* connection, PublicSensor& sensor) {
Sensor::Sensor(Connection* connection, const PublicSensor& sensor) {
/* Initialize the SensorConfig interface */
sensorConfig = new SensorConfig(connection);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment