Workaround for GLM_GTX_hash on MSVC.

This commit is contained in:
YaaZ 2023-09-22 20:43:02 +02:00
parent 13148ecb52
commit c449b34416

View File

@ -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