Compile fix for DEC cxx.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3321 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-01-09 14:37:55 +00:00
parent d719688df3
commit e49241e1e5
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
* FuncStatus.C: small compile fix for DEC cxx. Doesn't like
FuncStaus::FuncStatus & FuncStaus::some_method().
2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
* FuncStatus.[Ch]: new files. This is a rewrite as a proper class

View File

@ -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;