Changeset 1392 in Sophya


Ignore:
Timestamp:
Feb 9, 2001, 6:09:46 PM (25 years ago)
Author:
ansari
Message:

Changement nom de variable single -> _singleton , Reza 9/2/2001

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/SkyMap/HEALPixUtils.cc

    r1196 r1392  
    6161
    6262// Instance unique de la classe PIXELS_XY
    63 static PIXELS_XY * single = NULL;
     63static PIXELS_XY * _singleton = NULL;
    6464
    6565PIXELS_XY& PIXELS_XY::instance()
    6666{
    67   if (single == NULL) single = new PIXELS_XY ;
    68   return (*single);
     67  if (_singleton == NULL) _singleton = new PIXELS_XY ;
     68  return (*_singleton);
    6969}
    7070
Note: See TracChangeset for help on using the changeset viewer.