mirror of
https://github.com/esphome/esphome.git
synced 2024-12-25 23:14:54 +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 {
|
||||
public:
|
||||
LockGuard(Mutex &mutex) : mutex_{mutex} { mutex_.lock(); }
|
||||
LockGuard(Mutex &mutex) : mutex_(mutex) { mutex_.lock(); }
|
||||
~LockGuard() { mutex_.unlock(); }
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in a new issue