m_module is now a pointer instead of reference

This commit is contained in:
2016-08-05 11:23:59 +02:00
parent a9ecde86d9
commit 460adb9858
27 changed files with 168 additions and 166 deletions

View File

@@ -434,7 +434,7 @@ protected:
if (pEapError) {
if (pEapError->dwWinError != ERROR_NOT_FOUND)
wxLogError(winstd::tstring_printf(_("Error reading credentials from Credential Manager: %ls (error %u)"), pEapError->pRootCauseString, pEapError->dwWinError).c_str());
m_cred.m_module.free_error_memory(pEapError);
m_cred.m_module->free_error_memory(pEapError);
} else
wxLogError(_("Reading credentials failed."));
}
@@ -455,7 +455,7 @@ protected:
if (!m_cred.store(m_target.c_str(), &pEapError)) {
if (pEapError) {
wxLogError(winstd::tstring_printf(_("Error writing credentials to Credential Manager: %ls (error %u)"), pEapError->pRootCauseString, pEapError->dwWinError).c_str());
m_cred.m_module.free_error_memory(pEapError);
m_cred.m_module->free_error_memory(pEapError);
} else
wxLogError(_("Writing credentials failed."));
}