From bcca73af5fcddc2223e60e20ec01e460a263955b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Tue, 25 Feb 2003 15:07:24 +0000 Subject: [PATCH] Work around for g++ 2.95's broken string::clear() git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6255 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/controllers/ControlError.C | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/frontends/controllers/ControlError.C b/src/frontends/controllers/ControlError.C index fdc0e0f28a..4466d61806 100644 --- a/src/frontends/controllers/ControlError.C +++ b/src/frontends/controllers/ControlError.C @@ -26,6 +26,8 @@ void ControlError::initialiseParams(string const & data) void ControlError::clearParams() { - params_.clear(); + // g++ 2.95.3 doesn't like this although it should be ok + //params_.clear(); + params_ = string(); } -- 2.39.2