aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-08-06 02:07:23 +0200
committerdec05eba <dec05eba@protonmail.com>2021-08-06 02:07:37 +0200
commitfc4d55f8464779e0912be771973ebd94a27df951 (patch)
tree333e2becf3c966faac74ad99538b87a8c6874916 /include
parent476bf47b41a231f00b6be6e54b2728803741e88c (diff)
Matrix: remove unecessary m.room.power_levels from state sync
Diffstat (limited to 'include')
-rw-r--r--include/AsyncTask.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/AsyncTask.hpp b/include/AsyncTask.hpp
index 45b3397..e256dc7 100644
--- a/include/AsyncTask.hpp
+++ b/include/AsyncTask.hpp
@@ -57,7 +57,7 @@ namespace QuickMedia {
future.get();
}
} else {
- T result;
+ T result = T();
if(thread.joinable()) {
thread.join();
result = std::move(future.get());