aboutsummaryrefslogtreecommitdiff
path: root/include/olm/utility.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/utility.hh
parente533b0dc8ef606aa808b38d2f49d9baf438dae47 (diff)
Convert error.hh to plain C
Diffstat (limited to 'include/olm/utility.hh')
-rw-r--r--include/olm/utility.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/olm/utility.hh b/include/olm/utility.hh
index 1e77675..1339fe5 100644
--- a/include/olm/utility.hh
+++ b/include/olm/utility.hh
@@ -16,7 +16,7 @@
#ifndef UTILITY_HH_
#define UTILITY_HH_
-#include "olm/error.hh"
+#include "olm/error.h"
#include <cstddef>
#include <cstdint>
@@ -29,7 +29,7 @@ struct Utility {
Utility();
- ErrorCode last_error;
+ OlmErrorCode last_error;
/** The length of a SHA-256 hash in bytes. */
std::size_t sha256_length();