mirror of
https://github.com/esphome/esphome.git
synced 2025-01-31 18:20:53 +00:00
Swap curly brackets for round on LockGuard (#4610)
This commit is contained in:
parent
9d9725144d
commit
8d3896172d
@ -547,7 +547,7 @@ class Mutex {
|
|||||||
*/
|
*/
|
||||||
class LockGuard {
|
class LockGuard {
|
||||||
public:
|
public:
|
||||||
LockGuard(Mutex &mutex) : mutex_{mutex} { mutex_.lock(); }
|
LockGuard(Mutex &mutex) : mutex_(mutex) { mutex_.lock(); }
|
||||||
~LockGuard() { mutex_.unlock(); }
|
~LockGuard() { mutex_.unlock(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user