Changeset 10703
- Timestamp:
- 05/13/11 15:08:23 (14 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/ByteOrder.h
r10702 r10703 124 124 } 125 125 126 template<typename T> 127 void Reverse(T *t) 128 { 129 std::reverse((uint16_t*)t, ((uint16_t*)t)+sizeof(T)/2); 130 } 131 126 132 #endif -
trunk/FACT++/src/HeadersFTM.h
r10702 r10703 60 60 61 61 // -------------------------------------------------------------------- 62 63 template<typename T>64 void Reverse(T *t)65 {66 std::reverse((uint16_t*)t, ((uint16_t*)t)+sizeof(T)/2);67 }68 62 69 63 enum
Note:
See TracChangeset
for help on using the changeset viewer.