mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-08-14 14:49:48 +00:00
Enable more warnings (and fix some).
This commit is contained in:
parent
fe2ea40c4f
commit
c82b41207e
3 changed files with 3 additions and 10 deletions
|
@ -27,13 +27,6 @@ namespace din {
|
|||
namespace {
|
||||
std::string get_joint_atoms ( const StringPool<char>& parPool, bool parAbs, std::size_t parSkipRight=0 );
|
||||
|
||||
bool ptr_between (const char* parPtr, const char* parBeg, const char* parEnd) {
|
||||
std::less<const char*> less;
|
||||
std::less_equal<const char*> lesseq;
|
||||
|
||||
return lesseq(parBeg, parPtr) and less(parPtr, parEnd);
|
||||
}
|
||||
|
||||
std::size_t count_grouped (boost::string_ref parIn, char parDelim) {
|
||||
std::size_t retval = 0;
|
||||
char prev = '\0';
|
||||
|
|
|
@ -73,7 +73,7 @@ namespace din {
|
|||
{
|
||||
std::copy(parHashDir.byte_data, parHashDir.byte_data + sizeof(parHashDir), buff_ptr);
|
||||
std::fill(buff_ptr + sizeof(parHashDir), buff_ptr + hash_size, 0);
|
||||
TigerHash dummy = {};
|
||||
TigerHash dummy {};
|
||||
tiger_init_hash(parHashDir);
|
||||
tiger_sse2_chunk(buff_ptr, buff_ptr, hash_size, dummy.data, parHashDir.data);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue