fixed: DbBase::ConvertTime(tm) should not have been used in this way as it was
(it uses a static buffer)
now DbTextStream can get tm struct so you don't have to use ConvertTime
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@662 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#ifndef headerfile_winix_db_dbtextstream
|
||||
#define headerfile_winix_db_dbtextstream
|
||||
|
||||
#include <ctime>
|
||||
#include "core/textstream.h"
|
||||
|
||||
|
||||
@@ -100,7 +101,7 @@ public:
|
||||
DbTextStream & operator<<(RawText<unsigned long> raw);
|
||||
DbTextStream & operator<<(RawText<double> raw);
|
||||
DbTextStream & operator<<(RawText<void*> raw);
|
||||
|
||||
DbTextStream & operator<<(const RawText<tm> & t);
|
||||
|
||||
|
||||
/*
|
||||
@@ -128,8 +129,11 @@ public:
|
||||
DbTextStream & operator<<(unsigned long);
|
||||
DbTextStream & operator<<(double);
|
||||
DbTextStream & operator<<(const void *);
|
||||
DbTextStream & operator<<(const tm & t);
|
||||
|
||||
|
||||
static const char * ConvertTime(const tm & t);
|
||||
|
||||
private:
|
||||
|
||||
bool was_param;
|
||||
|
||||
Reference in New Issue
Block a user