diff options
author | Sadie Powell <sadie@witchery.services> | 2024-01-06 13:23:37 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-01-06 13:23:37 +0000 |
commit | a9ab0c72a69cacc597e91870f50622de0334f9a7 (patch) | |
tree | 57665546eb565fa608a203aca5f4ac65dc57a6f3 /src/modes.cpp | |
parent | de918ef9cfb652b20b215d0d2f6622eb9a117b2c (diff) |
Use auto in places where the type is unambiguous.
Diffstat (limited to 'src/modes.cpp')
-rw-r--r-- | src/modes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modes.cpp b/src/modes.cpp index 1bae2dfe1..fa416cba5 100644 --- a/src/modes.cpp +++ b/src/modes.cpp @@ -320,7 +320,7 @@ static StackerInfo *GetInfo(List &l, Object *o) if (it != l.end()) return it->second; - StackerInfo *s = new StackerInfo(); + auto *s = new StackerInfo(); l[o] = s; return s; } |