summaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-04-04 14:57:04 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2021-04-04 14:57:04 -0400
commitf7a5cccc5ecb3652baeafb39be6c929f0d6f9bdc (patch)
tree3fe92ea8e5f264c788467ce7a299887f743d736b /discord
parent6f1013d146e9e4878b3ef542d4b95ccbcaa7fff1 (diff)
downloadabaddon-portaudio-f7a5cccc5ecb3652baeafb39be6c929f0d6f9bdc.tar.gz
abaddon-portaudio-f7a5cccc5ecb3652baeafb39be6c929f0d6f9bdc.zip
fix build
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 23d2c0d..e3713eb 100644
--- a/discord/store.hpp
+++ b/discord/store.hpp
@@ -156,5 +156,5 @@ inline void Store::Get(sqlite3_stmt *stmt, int index, std::optional<T> &out) con
template<typename T>
inline typename std::enable_if<std::is_enum<T>::value, void>::type
Store::Get(sqlite3_stmt *stmt, int index, T &out) const {
- out = static_cast<typename T>(sqlite3_column_int(stmt, index));
+ out = static_cast<T>(sqlite3_column_int(stmt, index));
}