From b8b04ab483fea5266cb5db9dd27d91a835adbeca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Wed, 6 Sep 2023 06:36:41 +0200 Subject: [PATCH] REVERT ME: Avoid __DATE__ and __TIME__ for ccache --- src/duckdb/third_party/pcg/pcg_extras.hpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/duckdb/third_party/pcg/pcg_extras.hpp b/src/duckdb/third_party/pcg/pcg_extras.hpp index 0524fe218..138338394 100644 --- a/src/duckdb/third_party/pcg/pcg_extras.hpp +++ b/src/duckdb/third_party/pcg/pcg_extras.hpp @@ -622,10 +622,6 @@ struct static_arbitrary_seed { ? hash : fnv((hash * IntType(16777619U)) ^ *pos, (pos+1)); } - -public: - static constexpr IntType value = fnv(IntType(2166136261U ^ sizeof(IntType)), - __DATE__ __TIME__ __FILE__); }; // Sometimes, when debugging or testing, it's handy to be able print the name @@ -661,4 +657,4 @@ std::ostream& operator<<(std::ostream& out, printable_typename) { } // namespace pcg_extras -#endif // PCG_EXTRAS_HPP_INCLUDED \ No newline at end of file +#endif // PCG_EXTRAS_HPP_INCLUDED