Re: [Quickfix-developers] UtcDate initialisation bug
Brought to you by:
orenmnero
From: <OM...@th...> - 2003-04-03 18:34:46
|
This has been applied to the repository. Thanks. http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/quickfix/quickfix/src/C%2b%2b/FieldTypes.h.diff?r1=1.3&r2=1.4 --oren |---------+-----------------------------------------------> | | Chris Patmore | | | <Chr...@BT...> | | | Sent by: | | | qui...@li...ur| | | ceforge.net | | | | | | | | | 04/03/2003 10:31 AM | | | | |---------+-----------------------------------------------> >----------------------------------------------------------------------------------------------| | | | To: developers QuickFIX <qui...@li...> | | cc: | | Subject: [Quickfix-developers] UtcDate initialisation bug | >----------------------------------------------------------------------------------------------| 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. ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |