From: André Pönitz Date: Tue, 25 Feb 2003 15:07:24 +0000 (+0000) Subject: Work around for g++ 2.95's broken string::clear() X-Git-Tag: 1.6.10~17437 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=bcca73af5fcddc2223e60e20ec01e460a263955b;p=lyx.git 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 --- 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(); }