Fixed compilation as a subdirectory with MinGW (#991)
[openal-soft.git] / common / altraits.h
blob7ce0422e6ce89f74a474998eeabcf70d497d05a0
1 #ifndef COMMON_ALTRAITS_H
2 #define COMMON_ALTRAITS_H
4 namespace al {
6 template<typename T>
7 struct type_identity { using type = T; };
9 template<typename T>
10 using type_identity_t = typename type_identity<T>::type;
12 } // namespace al
14 #endif /* COMMON_ALTRAITS_H */