mirror of
https://github.com/esphome/esphome.git
synced 2024-12-25 17:07:50 +01:00
Swap curly brackets for round on LockGuard (#4610)
This commit is contained in:
parent
d52e425ba2
commit
a1eb3b8475
@ -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 New Issue
Block a user