Commit 6ac78b8
committed
Cast GWLP_USERDATA to ShortcutManagerImpl
Use the concrete ShortcutManagerImpl type when retrieving the pointer from GWLP_USERDATA in the window procedure. This replaces the previous reinterpret_cast to an ambiguous Impl type and wraps the long cast onto a new line for readability and to avoid potential type/name errors.1 parent a1dd7d4 commit 6ac78b8
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
| 227 | + | |
227 | 228 | | |
228 | 229 | | |
229 | 230 | | |
| |||
0 commit comments