X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2FSpookyHashV1.h;h=bb457d5f80f3ac24fa41cabf59c3039a81a4e0d6;hb=37ce60726a249bb67c885236a45d50cdb781694e;hp=d6c5553908d6a6a04bed8536ad0c07c6c6670efe;hpb=321542683a01c3f334047531e9b487f047129775;p=folly.git diff --git a/folly/SpookyHashV1.h b/folly/SpookyHashV1.h index d6c55539..bb457d5f 100644 --- a/folly/SpookyHashV1.h +++ b/folly/SpookyHashV1.h @@ -1,5 +1,5 @@ /* - * Copyright 2016 Facebook, Inc. + * Copyright 2017 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -42,8 +42,7 @@ // slower than MD5. // -#ifndef FOLLY_SPOOKYHASHV1_H_ -#define FOLLY_SPOOKYHASHV1_H_ +#pragma once #include #include @@ -292,7 +291,7 @@ private: // * is a not-very-regular mix of 1's and 0's // * does not need any other special mathematical properties // - static const uint64_t sc_const = 0xdeadbeefdeadbeefLL; + static const uint64_t sc_const = 0xdeadbeefdeadbeefULL; uint64_t m_data[2*sc_numVars]; // unhashed data, for partial messages uint64_t m_state[sc_numVars]; // internal state of the hash @@ -302,5 +301,3 @@ private: } // namespace hash } // namespace folly - -#endif