Changeset 10747
- Timestamp:
- 05/19/11 08:52:49 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/ByteOrder.h
r10730 r10747 63 63 { 64 64 if (sizeof(S)!=vec.size()*2) 65 throw std::logic_error(" size of vector mismatch "+std::string(typeid(S).name()));65 throw std::logic_error("ntohcpy: size of vector mismatch "+std::string(typeid(S).name())); 66 66 67 67 std::transform(vec.begin(), vec.end(), … … 73 73 { 74 74 if (sizeof(S)%2) 75 throw std::logic_error(" size of "+std::string(typeid(S).name())+" not a multiple of 2");75 throw std::logic_error("htoncpy: size of "+std::string(typeid(S).name())+" not a multiple of 2"); 76 76 77 77 std::vector<uint16_t> v(sizeof(S)/2);
Note:
See TracChangeset
for help on using the changeset viewer.