修正c++版本判断兼容性问题

c++11以上,这个分支会跳到错误的地方,错误的使用using std::tr1::unordered_map ,导致undefined symbol.
This commit is contained in:
maliubiao 2019-03-02 16:02:02 +08:00 committed by GitHub
parent 31eed03518
commit 07382b9cb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@
#ifdef __APPLE__
#include <unordered_map>
#include <unordered_set>
#elif(__cplusplus == 201103L)
#elif(__cplusplus >= 201103L)
#include <unordered_map>
#include <unordered_set>
#elif defined _MSC_VER