Clean up FieldReader and BitRemap types.

This commit is contained in:
Jared Boone
2015-12-08 14:15:15 -08:00
parent 31fdf026f2
commit 90a7327cd5
4 changed files with 20 additions and 23 deletions
+1 -7
View File
@@ -33,13 +33,7 @@ using namespace portapack;
namespace baseband {
namespace ais {
struct CRCBitRemap {
constexpr size_t operator()(const size_t& bit_index) const {
return bit_index;
}
};
using CRCFieldReader = ::FieldReader<::Packet, CRCBitRemap>;
using CRCFieldReader = ::FieldReader<::Packet, BitRemapNone>;
struct PacketLengthRange {
constexpr PacketLengthRange(