mirror of
https://github.com/esphome/esphome.git
synced 2025-01-19 12:24:05 +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 {
|
||||
public:
|
||||
LockGuard(Mutex &mutex) : mutex_{mutex} { mutex_.lock(); }
|
||||
LockGuard(Mutex &mutex) : mutex_(mutex) { mutex_.lock(); }
|
||||
~LockGuard() { mutex_.unlock(); }
|
||||
|
||||
private:
|
||||
|
Loading…
x
Reference in New Issue
Block a user