mirror of https://github.com/libAthena/athena.git
* Fix isOpenWriting (implentation was erroneously named)
This commit is contained in:
parent
a0e341f5cf
commit
7898fb6ef0
|
@ -202,7 +202,7 @@ bool TextStream::isOpenForReading() const
|
||||||
return ((m_accessmode == ReadOnly || m_accessmode == ReadWrite) && m_accessmode != WriteOnly);
|
return ((m_accessmode == ReadOnly || m_accessmode == ReadWrite) && m_accessmode != WriteOnly);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool TextStream::isOpenForReading() const
|
bool TextStream::isOpenForWriting() const
|
||||||
{
|
{
|
||||||
return ((m_accessmode == WriteOnly || m_accessmode == ReadWrite) && m_accessmode != ReadOnly);
|
return ((m_accessmode == WriteOnly || m_accessmode == ReadWrite) && m_accessmode != ReadOnly);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue