make sure that error_ is correctly initialized

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33083 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2010-01-18 11:50:12 +00:00
parent 1dffc2bc5a
commit 6ee95e6d64

View File

@ -23,9 +23,11 @@ namespace lyx {
class DispatchResult { class DispatchResult {
public: public:
/// ///
DispatchResult() : dispatched_(false), update_(Update::None) {} DispatchResult() : dispatched_(false), error_(false),
update_(Update::None) {}
/// ///
DispatchResult(bool disp, Update::flags f) : dispatched_(disp), update_(f) {} DispatchResult(bool disp, Update::flags f)
: dispatched_(disp), error_(false), update_(f) {}
/// ///
bool dispatched() const { return dispatched_; } bool dispatched() const { return dispatched_; }
/// ///