Details
Details
Diff Detail
Diff Detail
Event Timeline
source/Core/Error.cpp | ||
---|---|---|
149 | Drive by comment: |
Comment Actions
It would help to see some context (eg generating the diff with -U999999. I
was trying to find the constructor, because I figure it should reset it to
whatever the constructor initializes it to, but I can't see that here.
Anyway, lgtm as long as this is what the constructor does.
Comment Actions
It doesn't make much of a difference really, but the default type of an
error is invalid. It seems weird that clear doesn't produce the same thing
as the default constructor.
Comment Actions
Here's more context. The default constructor uses eErrorTypeInvalid, so Clear() should also reset to eErrorTypeInvalid.
Drive by comment:
While I do not know if this OK or not, you should explain why this change is required in your commit message.