summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llsecapi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llsecapi.h b/indra/newview/llsecapi.h
index 02438f77b7..55c6d95cd8 100644
--- a/indra/newview/llsecapi.h
+++ b/indra/newview/llsecapi.h
@@ -124,7 +124,7 @@ struct LLProtectedDataException: public std::runtime_error
{
LL_WARNS("SECAPI") << "Protected Data Error: " << msg << LL_ENDL;
}
- std::string getMessage() { return what(); }
+ std::string getMessage() const { return what(); }
};
// class LLCertificate
@@ -344,8 +344,8 @@ public:
LL_WARNS("SECAPI") << "Certificate Error: " << msg << LL_ENDL;
}
virtual ~LLCertException() throw() {}
- LLPointer<LLCertificate> getCert() { return mCert; }
- std::string getMessage() { return what(); }
+ LLPointer<LLCertificate> getCert() const { return mCert; }
+ std::string getMessage() const { return what(); }
protected:
LLPointer<LLCertificate> mCert;
};