From e49241e1e5c417ea2da300b1e22a16fe6c49060e Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Wed, 9 Jan 2002 14:37:55 +0000 Subject: [PATCH] Compile fix for DEC cxx. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3321 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 5 +++++ src/FuncStatus.C | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) 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; -- 2.39.2