[Quickfix-developers] UtcDate initialisation bug
Brought to you by:
orenmnero
|
From: Chris P. <Chr...@BT...> - 2003-04-03 16:31:57
|
FieldTypes.h (v 1.3) has
UtcDate( int date, int month, int year )
: UtcTimeStamp( date, month, year )
{
clearTime();
}
but this will pick up the wrong constructor for the UtcTimeStamp
class UtcTimeStamp : protected tm
{
...
/// Defaults to the current date
UtcTimeStamp( int hour, int minute, int second )
{
...
}
so I assume it should be
UtcDate( int date, int month, int year )
: UtcTimeStamp( 0, 0, 0, date, month, year )
{
clearTime();
}
Regards
Chris Patmore
****************************************************************************
This message is confidential to the sender and addressee, and may contain
proprietary or legally privileged information. If you are not the intended
recipient, please delete it from your system, destroy any copies, and notify
the sender immediately. Opinions stated herein are not necessarily those of
BrokerTec. BrokerTec reserves the right to monitor messages that pass
through it's networks. BrokerTec Europe Ltd is regulated by FSA.
|