Fix a warning on GCC about initialisation order in Aegisub::Exception class.

Originally committed to SVN as r3201.
This commit is contained in:
Niels Martin Hansen 2009-07-23 01:11:22 +00:00
parent c52d45dd95
commit 3b917f61bf

View file

@ -34,8 +34,8 @@ namespace Aegisub {
// Base class for exceptions
// No public creators, all exceptions throws must be specific
class Exception {
Exception *inner;
wxString message;
Exception *inner;
protected:
Exception(const wxString &msg, Exception *inr = 0) : message(msg), inner(inr) { }