Ignore:
Timestamp:
Sep 8, 2014, 9:02:33 AM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP_free/pppClient.cpp

    r6099 r6100  
    4444
    4545#include "pppClient.h"
    46 #include "pppFilter.h"
    4746#include "bncephuser.h"
    4847#include "bncutils.h"
     
    5049using namespace BNC_PPP;
    5150using namespace std;
    52 
    53 // Global variable holding thread-specific pointers
    54 //////////////////////////////////////////////////////////////////////////////
    55 QThreadStorage<t_pppClient*> CLIENTS;
    56 
    57 // Static function returning thread-specific pointer
    58 //////////////////////////////////////////////////////////////////////////////
    59 t_pppClient* t_pppClient::instance() {
    60   return CLIENTS.localData();
    61 }
    6251
    6352// Constructor
     
    7059  _log     = new ostringstream();
    7160  _ephUser = new bncEphUser(false);
    72   _staID   = QByteArray(_opt->_roverName.c_str());
    73 
    74   CLIENTS.setLocalData(this);  // CLIENTS takes ownership over "this"
    7561}
    7662
Note: See TracChangeset for help on using the changeset viewer.