Raffaello / sdl2-vga-terminal

SDL2 VGA Terminal
MIT License
6 stars 1 forks source link

replace lock_guard mutex with `const` and `lock` #178

Open Raffaello opened 2 years ago

Raffaello commented 2 years ago

like for eg here: https://github.com/Raffaello/sdl2-vga-terminal/blob/master/sdl2-vga-terminal/src/VgaTerminal.cpp#L288

replace with a:

const std::lock_guard lock(_renderMutex);