瀏覽代碼

no need to strip accumulator twice

master
madscientist 3 年之前
父節點
當前提交
06348b8104
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      mishmash.cpp

+ 1
- 1
mishmash.cpp 查看文件

@@ -57,7 +57,7 @@ namespace codedweller {
accumulator += accumulator >> 32;
accumulator &= 0x00000fffffffffff;
}
return accumulator & 0x00000000ffffffff;
return static_cast<uint32_t>(accumulator);
}

uint32_t mishmash(const std::string& s) noexcept {

Loading…
取消
儲存