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:
2012-02-10 00:29:54 +00:00
parent 6e2d00bc5b
commit 9687d5cd66
9 changed files with 13 additions and 43 deletions

View File

@@ -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)
{

View File

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

View File

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

View File

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