diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-10-28 00:42:04 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-10-28 00:42:04 -0400 |
commit | c98b62cacaf58628419c87d326f36b0e989a85e7 (patch) | |
tree | 2ea1200b6e4ad4aa25d5538e0605c5d1b91f6095 /discord/store.hpp | |
parent | d425997c263a089e8c0075a6f89fd792a3652923 (diff) | |
download | abaddon-portaudio-c98b62cacaf58628419c87d326f36b0e989a85e7.tar.gz abaddon-portaudio-c98b62cacaf58628419c87d326f36b0e989a85e7.zip |
fix syntax error
Diffstat (limited to 'discord/store.hpp')
-rw-r--r-- | discord/store.hpp | 2 |
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; |