summaryrefslogtreecommitdiff
path: root/discord/store.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'discord/store.hpp')
-rw-r--r--discord/store.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/store.hpp b/discord/store.hpp
index 776b701..280d728 100644
--- a/discord/store.hpp
+++ b/discord/store.hpp
@@ -149,7 +149,7 @@ private:
template<typename T>
inline typename std::enable_if<std::is_enum<T>::value, int>::type
Bind(int index, T val) {
- return Bind(index, static_cast<std::underlying_type<T>::type>(val));
+ return Bind(index, static_cast<typename std::underlying_type<T>::type>(val));
}
void Get(int index, uint8_t &out) const;