mirror of
https://github.com/esphome/esphome.git
synced 2025-01-03 19:31:46 +01:00
Swap curly brackets for round on LockGuard (#4610)
This commit is contained in:
parent
9d9725144d
commit
8d3896172d
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