summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-07-14 11:33:29 -0400
committerNat Goodspeed <nat@lindenlab.com>2016-07-14 11:33:29 -0400
commitcefa598e49490bfedb86a5be0747ec3c856d06bf (patch)
treee65853fe9e52ea329517ab20b5bcefe536b35e53 /indra/newview
parent636ce117bb1b3bda30ff725d41b50ed2c48e4bf0 (diff)
MAINT-5011: Per NickyD, make LLCertException::getMessage() const.
Also getCert(). Also LLProtectedDataException::getMessage().
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;
};