mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-10 00:01:44 +00:00
c++11 only supports static constexpr function with one return statement. so our maptype() function is valid in c++14 but not on c++11. to work around used the explicit class instantiation to map property type to value type.