mirror of
https://github.com/g-truc/glm.git
synced 2024-11-22 17:04:35 +00:00
Workaround for GLM_GTX_hash on MSVC.
This commit is contained in:
parent
13148ecb52
commit
c449b34416
@ -2666,3 +2666,10 @@ export namespace glm {
|
||||
}
|
||||
# endif
|
||||
}
|
||||
|
||||
#if defined(_MSC_VER) // Workaround
|
||||
// Partial template specialization doesn't need to be exported explicitly, but this may not work otherwise on MSVC.
|
||||
export namespace std {
|
||||
using std::hash; // See GLM_GTX_hash
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user