summaryrefslogtreecommitdiffstats
path: root/Common/interface
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2021-02-01 21:32:15 +0000
committerassiduous <assiduous@diligentgraphics.com>2021-02-01 21:32:15 +0000
commit8331b0c0b9d99ce3b8e72f46b6f0a988230751cd (patch)
treea53d4803bd7f76c593365c22825266dfcbbb13ef /Common/interface
parentTemporary disabled OpenGL backend to fix CI build (diff)
downloadDiligentCore-8331b0c0b9d99ce3b8e72f46b6f0a988230751cd.tar.gz
DiligentCore-8331b0c0b9d99ce3b8e72f46b6f0a988230751cd.zip
BacicMath.hpp: fixed clang/gcc build issue
Diffstat (limited to 'Common/interface')
-rw-r--r--Common/interface/BasicMath.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Common/interface/BasicMath.hpp b/Common/interface/BasicMath.hpp
index 5f37c164..782e428c 100644
--- a/Common/interface/BasicMath.hpp
+++ b/Common/interface/BasicMath.hpp
@@ -2206,7 +2206,7 @@ typename std::enable_if<std::is_integral<T>::value, T>::type ExtractLSB(T& bits)
template <typename T>
typename std::enable_if<std::is_enum<T>::value, T>::type ExtractLSB(T& bits)
{
- return static_cast<T>(ExtractLSB(reinterpret_cast<std::underlying_type<T>::type&>(bits)));
+ return static_cast<T>(ExtractLSB(reinterpret_cast<typename std::underlying_type<T>::type&>(bits)));
}
} // namespace Diligent