diff --git a/Algorithms/CRC32.cpp b/Algorithms/CRC32.cpp index 25aabc55b..b2329e641 100644 --- a/Algorithms/CRC32.cpp +++ b/Algorithms/CRC32.cpp @@ -62,10 +62,10 @@ CRC32::CRC32CFunctionPtr CRC32::detectBestCRC32C() { unsigned ecx = cpuid(1); bool hasSSE42 = ecx & (1 << SSE42_BIT); if (hasSSE42) { - std::cout << "sse based" << std::endl; + std::cout << "using hardware base sse computation" << std::endl; return &CRC32::SSEBasedCRC32; //crc32 hardware accelarated; } else { - std::cout << "softbased" << std::endl; + std::cout << "using software base sse computation" << std::endl; return &CRC32::SoftwareBasedCRC32; //crc32cSlicingBy8; } } diff --git a/DataStructures/DeallocatingVector.h b/DataStructures/DeallocatingVector.h index cf9421d16..bbfad9c36 100644 --- a/DataStructures/DeallocatingVector.h +++ b/DataStructures/DeallocatingVector.h @@ -192,6 +192,7 @@ private: std::vector mBucketList; public: + typedef ElementT value_type; typedef DeallocatingVectorIterator iterator; typedef DeallocatingVectorIterator const_iterator;