COMP: remove masked OTstream::write(token&&) method (#1525)

This commit is contained in:
Mark Olesen
2019-12-17 13:14:36 +01:00
parent bc0b02c651
commit 7c70125b92
2 changed files with 0 additions and 22 deletions

View File

@ -43,18 +43,6 @@ bool Foam::OTstream::write(const token& tok)
}
bool Foam::OTstream::write(token&& tok)
{
if (tok.good())
{
append(std::move(tok));
return true;
}
return false;
}
Foam::Ostream& Foam::OTstream::write(const char c)
{
if (!std::isspace(c) && std::isprint(c))

View File

@ -49,11 +49,6 @@ SourceFiles
namespace Foam
{
// Typedefs
typedef DynamicList<token> tokenDynList;
/*---------------------------------------------------------------------------*\
Class OTstream Declaration
\*---------------------------------------------------------------------------*/
@ -127,11 +122,6 @@ public:
// \return false if the token type was not handled by this method
virtual bool write(const token& tok);
//- Write token to stream or otherwise handle it.
// The stream is permitted to transfer/clear token contents.
// \return false if the token type was not handled by this method
virtual bool write(token&& tok);
//- Write single character. Whitespace is suppressed.
virtual Ostream& write(const char c);