summaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-10-28 00:42:04 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2021-10-28 00:42:04 -0400
commitc98b62cacaf58628419c87d326f36b0e989a85e7 (patch)
tree2ea1200b6e4ad4aa25d5538e0605c5d1b91f6095 /discord
parentd425997c263a089e8c0075a6f89fd792a3652923 (diff)
downloadabaddon-portaudio-c98b62cacaf58628419c87d326f36b0e989a85e7.tar.gz
abaddon-portaudio-c98b62cacaf58628419c87d326f36b0e989a85e7.zip
fix syntax error
Diffstat (limited to 'discord')
-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;