Changeset 1392 in Sophya
- Timestamp:
- Feb 9, 2001, 6:09:46 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SkyMap/HEALPixUtils.cc
r1196 r1392 61 61 62 62 // Instance unique de la classe PIXELS_XY 63 static PIXELS_XY * single= NULL;63 static PIXELS_XY * _singleton = NULL; 64 64 65 65 PIXELS_XY& PIXELS_XY::instance() 66 66 { 67 if ( single == NULL) single= new PIXELS_XY ;68 return (* single);67 if (_singleton == NULL) _singleton = new PIXELS_XY ; 68 return (*_singleton); 69 69 } 70 70
Note:
See TracChangeset
for help on using the changeset viewer.