Ignore:
Timestamp:
May 11, 2023, 2:23:16 PM (12 months ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/combination/bnccomb.cpp

    r10039 r10040  
    114114}
    115115
    116 
    117 // Singleton
    118 ////////////////////////////////////////////////////////////////////////////
    119 bncComb* bncComb::instance() {//cout << "bncComb::instance()" << endl;
    120   static bncComb _bncComb;
    121   return &_bncComb;
    122 }
     116// Singleton: definition class variable
     117////////////////////////////////////////////////////////////////////////////
     118bncComb* bncComb::instance = nullptr;
     119
    123120
    124121// Constructor
    125122////////////////////////////////////////////////////////////////////////////
    126 bncComb::bncComb() : _ephUser(true) {//cout << "bncComb::bncComb()" << endl;
     123bncComb::bncComb() : _ephUser(true) {
    127124
    128125  bncSettings settings;
Note: See TracChangeset for help on using the changeset viewer.