问题现象:
静态断言失败,原因是static assertion failed with "
deprecated and will be REMOVED. Please use
_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have
received this warning
问题解决:
1、注释掉报错行
2、在使用include
_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS定义
3、使用unordered_map代替hash_map
以上三种方法任选其一
- 本文固定链接: http://jingyan.idoubi.net/4405.html
- 转载请注明: 游戏创作者大陆 于 逗分享开发经验 发表