Changeset 5846 in ntrip for trunk/BNC/src/bncutils.cpp


Ignore:
Timestamp:
Aug 7, 2014, 10:43:33 AM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncutils.cpp

    r5807 r5846  
    9393  QDateTime currDateTimeGPS;
    9494
    95   if ( BNC_CORE->_currentDateAndTimeGPS ) {
    96     currDateTimeGPS = *(BNC_CORE->_currentDateAndTimeGPS);
     95  if ( BNC_CORE->dateAndTimeGPSSet() ) {
     96    currDateTimeGPS = BNC_CORE->dateAndTimeGPS();
    9797  }
    9898  else {
     
    118118////////////////////////////////////////////////////////////////////////////
    119119QDateTime currentDateAndTimeGPS() {
    120   if ( BNC_CORE->_currentDateAndTimeGPS ) {
    121     return *(BNC_CORE->_currentDateAndTimeGPS);
     120  if ( BNC_CORE->dateAndTimeGPSSet() ) {
     121    return BNC_CORE->dateAndTimeGPS();
    122122  }
    123123  else {
Note: See TracChangeset for help on using the changeset viewer.