aboutsummaryrefslogtreecommitdiff
path: root/lib/e2ee/qolmutility.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/e2ee/qolmutility.cpp')
-rw-r--r--lib/e2ee/qolmutility.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/e2ee/qolmutility.cpp b/lib/e2ee/qolmutility.cpp
index d0684055..13ee695e 100644
--- a/lib/e2ee/qolmutility.cpp
+++ b/lib/e2ee/qolmutility.cpp
@@ -10,7 +10,7 @@ using namespace Quotient;
// Convert olm error to enum
QOlmError lastError(OlmUtility *utility) {
- const std::string error_raw = olm_utility_last_error(utility);
+ const auto error_raw = olm_utility_last_error(utility);
return fromString(error_raw);
}