removed: operator<<(const PT::Space * space)
from textstream, log, dbtextstream, htmltextstream added: compile option: -pthread git-svn-id: svn://ttmath.org/publicrep/winix/trunk@802 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
10
core/log.cpp
10
core/log.cpp
@@ -233,16 +233,6 @@ Log & Log::operator<<(double s)
|
||||
}
|
||||
|
||||
|
||||
Log & Log::operator<<(const PT::Space * s)
|
||||
{
|
||||
if( current_level <= log_level )
|
||||
{
|
||||
buffer << s;
|
||||
}
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
Log & Log::operator<<(const PT::Space & s)
|
||||
{
|
||||
|
||||
@@ -43,7 +43,6 @@ public:
|
||||
Log & operator<<(wchar_t s);
|
||||
Log & operator<<(size_t s);
|
||||
Log & operator<<(double s);
|
||||
Log & operator<<(const PT::Space * space);
|
||||
Log & operator<<(const PT::Space & space);
|
||||
Log & operator<<(LogManipulators m);
|
||||
Log & operator<<(const tm & tm_);
|
||||
|
||||
@@ -536,7 +536,8 @@ return buffer;
|
||||
|
||||
|
||||
|
||||
|
||||
// !! IMPROVE ME
|
||||
// in UNICODE there are some additional white characters
|
||||
bool IsWhite(wchar_t s)
|
||||
{
|
||||
if( s==' ' || s=='\t' || s==13 || s==160 )
|
||||
|
||||
@@ -57,7 +57,6 @@ public:
|
||||
TextStream & operator<<(unsigned long);
|
||||
TextStream & operator<<(double);
|
||||
TextStream & operator<<(const void *);// printing a pointer
|
||||
TextStream & operator<<(const PT::Space * space);
|
||||
TextStream & operator<<(const PT::Space & space);
|
||||
TextStream & operator<<(const tm & tm_);
|
||||
|
||||
@@ -307,19 +306,12 @@ TextStream<StringType> & TextStream<StringType>::write(const wchar_t * buf, size
|
||||
}
|
||||
|
||||
|
||||
template<class StringType>
|
||||
TextStream<StringType> & TextStream<StringType>::operator<<(const PT::Space * space)
|
||||
{
|
||||
space->Serialize(*this, true, false);
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
template<class StringType>
|
||||
TextStream<StringType> & TextStream<StringType>::operator<<(const PT::Space & space)
|
||||
{
|
||||
return operator<<(&space);
|
||||
space.Serialize(*this, true, false);
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user