Skip to content

Commit f2bbc08

Browse files
committed
fix: no {}
1 parent 4dc30eb commit f2bbc08

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/config/ConfigManager.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,8 @@ struct SFloatCache {
148148

149149
// Use empty string as default tag value
150150
std::string tagValue = "";
151-
if (auto xdgTag = window->xdgTag()) {
151+
if (auto xdgTag = window->xdgTag())
152152
tagValue = xdgTag.value();
153-
}
154153

155154
// Combine hashes
156155
hash = baseHash ^ (std::hash<std::string>{}(tagValue) << 2);

0 commit comments

Comments
 (0)