From: Angus Leeming Date: Wed, 9 Jan 2002 14:37:55 +0000 (+0000) Subject: Compile fix for DEC cxx. X-Git-Tag: 1.6.10~20065 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e49241e1e5c417ea2da300b1e22a16fe6c49060e;p=features.git Compile fix for DEC cxx. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3321 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/ChangeLog b/src/ChangeLog index d0e05c2ba0..36313b6f5d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-01-08 Angus Leeming + + * FuncStatus.C: small compile fix for DEC cxx. Doesn't like + FuncStaus::FuncStatus & FuncStaus::some_method(). + 2002-01-08 Martin Vermeer * FuncStatus.[Ch]: new files. This is a rewrite as a proper class diff --git a/src/FuncStatus.C b/src/FuncStatus.C index b06ab52492..f820ce2afe 100644 --- a/src/FuncStatus.C +++ b/src/FuncStatus.C @@ -20,7 +20,7 @@ FuncStatus::FuncStatus() : v_(OK) } -FuncStatus::FuncStatus & FuncStatus::clear () +FuncStatus & FuncStatus::clear () { v_ = OK; return *this; @@ -31,7 +31,7 @@ void FuncStatus::operator |= (FuncStatus const & f) v_ |= f.v_; } -FuncStatus::FuncStatus & FuncStatus::unknown (bool b) +FuncStatus & FuncStatus::unknown (bool b) { if (b) v_ |= UNKNOWN; @@ -47,7 +47,7 @@ bool FuncStatus::unknown () const } -FuncStatus::FuncStatus & FuncStatus::disabled (bool b) +FuncStatus & FuncStatus::disabled (bool b) { if (b) v_ |= DISABLED;