removed: in some places a dependencies to tm struct has left
removed: operator<<(tm&) from streams: textstream, log, dbtextstream, htmltextstream git-svn-id: svn://ttmath.org/publicrep/winix/trunk@840 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* This file is a part of Winix
|
||||
* and is not publicly distributed
|
||||
*
|
||||
* Copyright (c) 2009-2010, Tomasz Sowa
|
||||
* Copyright (c) 2009-2012, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
*/
|
||||
@@ -12,14 +12,13 @@
|
||||
|
||||
#include <string>
|
||||
#include <string.h>
|
||||
#include "date/date.h"
|
||||
|
||||
|
||||
namespace Thread
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
class Thread
|
||||
{
|
||||
public:
|
||||
@@ -30,7 +29,7 @@ public:
|
||||
|
||||
// the last file in a thread
|
||||
long last_item_id;
|
||||
tm last_item_date_modification;
|
||||
PT::Date last_item_date_modification;
|
||||
long last_item_user_id;
|
||||
std::wstring last_item_guest_name;
|
||||
|
||||
@@ -43,7 +42,7 @@ public:
|
||||
replies = 0;
|
||||
last_item_id = -1;
|
||||
last_item_user_id = -1;
|
||||
memset(&last_item_date_modification, 0, sizeof(tm));
|
||||
last_item_date_modification.Clear();
|
||||
last_item_guest_name.clear();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user