#ifndef in *.h + #pragma once (#1639)

This commit is contained in:
Nicolas Liaudat
2022-12-20 06:46:13 +01:00
committed by GitHub
parent c4cd43b3d6
commit fc5fbd648e
37 changed files with 188 additions and 288 deletions

View File

@@ -1,5 +1,10 @@
#ifdef ENABLE_MQTT
#pragma once
#ifndef CLASSFFLOWMQTT_H
#define CLASSFFLOWMQTT_H
#include "ClassFlow.h"
#include "ClassFlowPostProcessing.h"
@@ -33,5 +38,5 @@ public:
bool doFlow(string time);
string name(){return "ClassFlowMQTT";};
};
#endif //CLASSFFLOWMQTT_H
#endif //ENABLE_MQTT