]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlError.C
Work around for g++ 2.95's broken string::clear()
[lyx.git] / src / frontends / controllers / ControlError.C
1 /**
2  * \file ControlError.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author Angus Leeming
7  *
8  * Full author contact details are available in file CREDITS
9  */
10
11 #include <config.h>
12
13 #include "ControlError.h"
14
15
16 ControlError::ControlError(Dialog & parent)
17         : Dialog::Controller(parent)
18 {}
19
20
21 void ControlError::initialiseParams(string const & data)
22 {
23         params_ = data;
24 }
25
26
27 void ControlError::clearParams()
28 {
29         // g++ 2.95.3 doesn't like this although it should be ok
30         //params_.clear();
31         params_ = string();
32 }
33