mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-13 22:52:30 +02:00
scope_guard/modules: Rename scope_guard to ScopeGuard
Using pascal case for the class name keeps it more consistent with the majority of the other class names.
This commit is contained in:
@ -59,7 +59,7 @@ void waybar::modules::Custom::continuousWorker() {
|
||||
}
|
||||
thread_ = [this, cmd] {
|
||||
char* buff = nullptr;
|
||||
waybar::util::scope_guard buff_deleter([buff]() {
|
||||
waybar::util::ScopeGuard buff_deleter([buff]() {
|
||||
if (buff) {
|
||||
free(buff);
|
||||
}
|
||||
|
Reference in New Issue
Block a user