Skip to content

Commit d2153d3

Browse files
ilcatoaentinger
authored andcommitted
Fixed style formatting
1 parent ebeb82a commit d2153d3

8 files changed

+8
-2
lines changed

types/Automation/CloudColoredLight.h renamed to types/automation/CloudColoredLight.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
class ColoredLight : public Color {
3434
public:
3535
bool swi;
36-
ColoredLight(bool swi, float h, float s, float b): swi(swi), Color(h, s, b) {
36+
ColoredLight(bool swi, float h, float s, float b): Color(h, s, b), swi(swi) {
3737
}
3838

3939
bool operator==(ColoredLight & aLight) {
@@ -49,7 +49,7 @@ class ColoredLight : public Color {
4949
class CloudColoredLight : public CloudColor {
5050
protected:
5151
ColoredLight _value,
52-
_cloud_value;
52+
_cloud_value;
5353
public:
5454
CloudColoredLight() : _value(false, 0, 0, 0), _cloud_value(false, 0, 0, 0) {}
5555
CloudColoredLight(bool swi, float hue, float saturation, float brightness) : _value(swi, hue, saturation, brightness), _cloud_value(swi, hue, saturation, brightness) {}

types/Automation/CloudContactSensor.h renamed to types/automation/CloudContactSensor.h

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class CloudContactSensor : public CloudBool {
3636
public:
3737
CloudContactSensor& operator=(bool v) {
3838
CloudBool::operator=(v);
39+
return *this;
3940
}
4041
};
4142

types/Automation/CloudLight.h renamed to types/automation/CloudLight.h

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class CloudLight : public CloudBool {
3636
public:
3737
CloudLight& operator=(bool v) {
3838
CloudBool::operator=(v);
39+
return *this;
3940
}
4041
};
4142

types/Automation/CloudMotionSensor.h renamed to types/automation/CloudMotionSensor.h

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class CloudMotionSensor : public CloudBool {
3636
public:
3737
CloudMotionSensor& operator=(bool v) {
3838
CloudBool::operator=(v);
39+
return *this;
3940
}
4041
};
4142

types/Automation/CloudSmartPlug.h renamed to types/automation/CloudSmartPlug.h

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class CloudSmartPlug : public CloudBool {
3636
public:
3737
CloudSmartPlug& operator=(bool v) {
3838
CloudBool::operator=(v);
39+
return *this;
3940
}
4041
};
4142

types/Automation/CloudSwitch.h renamed to types/automation/CloudSwitch.h

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class CloudSwitch : public CloudBool {
3636
public:
3737
CloudSwitch& operator=(bool v) {
3838
CloudBool::operator=(v);
39+
return *this;
3940
}
4041
};
4142

types/Automation/CloudTemperature.h renamed to types/automation/CloudTemperature.h

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class CloudTemperature : public CloudFloat {
3636
public:
3737
CloudTemperature& operator=(float v) {
3838
CloudFloat::operator=(v);
39+
return *this;
3940
}
4041
};
4142

0 commit comments

Comments
 (0)