summaryrefslogtreecommitdiff
path: root/indra/newview/llsecapi.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-07-19 14:08:43 -0400
committerNat Goodspeed <nat@lindenlab.com>2016-07-19 14:08:43 -0400
commit47d93e4f65493977217cfed53ff68eb926cf9bb7 (patch)
treee3adc87b737d00ff9b6c9ab99458e19ad197a183 /indra/newview/llsecapi.h
parentcefa598e49490bfedb86a5be0747ec3c856d06bf (diff)
DRTVWR-418: Remove rogue getMessage() from llsecapi.h exceptions.
The LLProtectedDataException and LLCertException exception classes didn't used to be derived from std::exception, so they followed their own getMessage() convention instead of the standard what() convention. Now that they're derived from std::exception, remove getMessage() and change its few consumers to use what() instead. Thanks NickyD for suggesting.
Diffstat (limited to 'indra/newview/llsecapi.h')
-rw-r--r--indra/newview/llsecapi.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/newview/llsecapi.h b/indra/newview/llsecapi.h
index 55c6d95cd8..535a112638 100644
--- a/indra/newview/llsecapi.h
+++ b/indra/newview/llsecapi.h
@@ -124,7 +124,6 @@ struct LLProtectedDataException: public std::runtime_error
{
LL_WARNS("SECAPI") << "Protected Data Error: " << msg << LL_ENDL;
}
- std::string getMessage() const { return what(); }
};
// class LLCertificate
@@ -345,7 +344,6 @@ public:
}
virtual ~LLCertException() throw() {}
LLPointer<LLCertificate> getCert() const { return mCert; }
- std::string getMessage() const { return what(); }
protected:
LLPointer<LLCertificate> mCert;
};