Changeset 17293 for trunk/Mars/mcore
- Timestamp:
- 10/21/13 13:39:34 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mcore/fits.h
r17274 r17293 11 11 #include <stdexcept> 12 12 13 #ifdef __CINT__ 13 #ifndef __CINT__ 14 #include <unordered_map> 15 #else 14 16 #define off_t size_t 15 #endif 16 17 #if !defined(__MARS__) && !defined(__CINT__) 18 #include <unordered_map> 17 namespace std 18 { 19 template<class T, class S> class unordered_map<T, S>; 20 } 19 21 #endif 20 22 … … 489 491 Addresses fAddresses; 490 492 491 #if defined(__MARS__) || defined(__CINT__)492 typedef std::map<std::string, void*> Pointers;493 #else494 493 typedef std::unordered_map<std::string, void*> Pointers; 495 #endif496 494 Pointers fPointers; 497 495 … … 817 815 } 818 816 819 #if !defined(__MARS__) && !defined(__CINT__)820 817 virtual bool GetRow(size_t row, bool check=true) 821 #else822 virtual bool GetRowNum(size_t row, bool check=true)823 #endif824 818 { 825 819 if (check && row>=fTable.num_rows) … … 847 841 bool GetNextRow(bool check=true) 848 842 { 849 #if !defined(__MARS__) && !defined(__CINT__)850 843 return GetRow(fRow+1, check); 851 #else852 return GetRowNum(fRow+1, check);853 #endif854 844 } 855 845
Note:
See TracChangeset
for help on using the changeset viewer.