aboutsummaryrefslogtreecommitdiff
path: root/c/episodelistview.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-18 03:25:00 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-18 03:25:00 +0200
commit53abfac6acd04dff80ec6c8cfb0dd53f2f74dadb (patch)
treee0e6ef0926e3fb77a96874fa39d7d71fcceae942 /c/episodelistview.h
parent03d9db8d5ff22faa27ab25264727bb09ba87d66d (diff)
downloadEpisodeBrowser-53abfac6acd04dff80ec6c8cfb0dd53f2f74dadb.tar.gz
Improve Library::GetProcAddress.
It isn't really more safe, but it removes the need for a confusing function pointer cast, which is easy to get wrong. As far as the compiler is concerned, the result is literally the same, but it does force the caller to (indirectly, via the template parameter) cast the return value, which may be a good thing.
Diffstat (limited to 'c/episodelistview.h')
0 files changed, 0 insertions, 0 deletions