alliedmodders / hl2sdk

Half-Life 2 SDK Mirrors
https://github.com/valvesoftware
341 stars 158 forks source link

Remove deprecated syntax for compatibility #195

Closed icedrocket closed 5 months ago

icedrocket commented 5 months ago

This pull request removes the redudant template argument in constructors, which has been disallowed since C++20.

GAMMACASE commented 5 months ago

Does this also accounts for c++14 & c++17 support? As in does it compiles fine there as well?

icedrocket commented 5 months ago

I haven't actually tested those APIs, but they compile well in C++17.