coding style fix
This commit is contained in:
1 parent
006ac887ea
commit
831f7f0215
1 file changed
+2
-4
@@ -195,15 +195,13 @@ Wait for valid data.
|
|||||||
```cpp
|
```cpp
|
||||||
auto result = safe_add(a, b);
|
auto result = safe_add(a, b);
|
||||||
|
|
||||||
if (result.invalid)
|
if (result.invalid) {
|
||||||
{
|
|
||||||
publish_invalid();
|
publish_invalid();
|
||||||
error_counter++;
|
error_counter++;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result.value > c)
|
if (result.value > c) {
|
||||||
{
|
|
||||||
update_state();
|
update_state();
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in new issue
Block a user