/*
- * Copyright 2015 Facebook, Inc.
+ * Copyright 2016 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* @author Tudor Bosman (tudorb@facebook.com)
*/
-#ifndef FOLLY_FINGERPRINT_H_
-#define FOLLY_FINGERPRINT_H_
+#pragma once
#include <cstdint>
public:
Fingerprint() {
// Use a non-zero starting value. We'll use (1 << (BITS-1))
- fp_[0] = 1UL << 63;
+ fp_[0] = 1ULL << 63;
for (int i = 1; i < size(); i++)
fp_[i] = 0;
}
}
} // namespace folly
-
-#endif /* FOLLY_FINGERPRINT_H_ */