mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
d719688df3
commit
e49241e1e5
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user