mirror of
https://github.com/esphome/esphome.git
synced 2024-11-29 02:04:13 +01:00
Swap curly brackets for round on LockGuard (#4610)
This commit is contained in:
parent
d52e425ba2
commit
a1eb3b8475
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue