aboutsummaryrefslogtreecommitdiff
path: root/include/olm/account.hh
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-05-16 12:08:45 +0100
committerRichard van der Hoff <richard@matrix.org>2016-05-23 18:55:05 +0100
commitf9139dfa6aea6ca8c4054a5b5fff9be484d978fa (patch)
tree940d7711e9c17f860c808ec809b86209a1cdef0e /include/olm/account.hh
parente533b0dc8ef606aa808b38d2f49d9baf438dae47 (diff)
Convert error.hh to plain C
Diffstat (limited to 'include/olm/account.hh')
-rw-r--r--include/olm/account.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/olm/account.hh b/include/olm/account.hh
index 209139a..6ea0d19 100644
--- a/include/olm/account.hh
+++ b/include/olm/account.hh
@@ -17,7 +17,7 @@
#include "olm/list.hh"
#include "olm/crypto.hh"
-#include "olm/error.hh"
+#include "olm/error.h"
#include <cstdint>
@@ -44,7 +44,7 @@ struct Account {
IdentityKeys identity_keys;
List<OneTimeKey, MAX_ONE_TIME_KEYS> one_time_keys;
std::uint32_t next_one_time_key_id;
- ErrorCode last_error;
+ OlmErrorCode last_error;
/** Number of random bytes needed to create a new account */
std::size_t new_account_random_length();