Skip to content
Snippets Groups Projects
Verified Commit b452a984 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix compilaton with Olm 3.2.5

parent a4f4c791
No related branches found
No related tags found
No related merge requests found
Pipeline #1805 passed
......@@ -37,15 +37,15 @@ static const std::array olmErrorStrings{
};
OlmErrorCode
mtx::crypto::OlmErrorCode
olm_exception::ec_from_string(std::string_view error)
{
for (size_t i = 0; i < olmErrorStrings.size(); i++) {
if (olmErrorStrings[i] == error)
return static_cast<OlmErrorCode>(i);
return static_cast<mtx::crypto::OlmErrorCode>(i);
}
return OlmErrorCode::UNKNOWN_ERROR;
return mtx::crypto::OlmErrorCode::UNKNOWN_ERROR;
}
void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment