X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2FFingerprint.h;h=9cf0f5073c1bf35686c4abd0eb77e9d86872172f;hb=19db503e08e4ea46a8b4d9a272605006b6245f88;hp=74302093b5a58e42bc0d99e37d11426376289566;hpb=ed8c80a0e0988e4ce687f51ca832a00e4a6b7930;p=folly.git diff --git a/folly/Fingerprint.h b/folly/Fingerprint.h index 74302093..9cf0f507 100644 --- a/folly/Fingerprint.h +++ b/folly/Fingerprint.h @@ -1,5 +1,5 @@ /* - * Copyright 2017 Facebook, Inc. + * Copyright 2012-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -99,8 +99,9 @@ class Fingerprint { Fingerprint() { // Use a non-zero starting value. We'll use (1 << (BITS-1)) fp_[0] = 1ULL << 63; - for (int i = 1; i < size(); i++) + for (int i = 1; i < size(); i++) { fp_[i] = 0; + } } Fingerprint& update8(uint8_t v) { @@ -284,4 +285,4 @@ inline uint64_t Fingerprint<128>::shlor64(uint64_t v) { return out; } -} // namespace folly +} // namespace folly