Commit ff0a0f2d by Evan Brown Committed by Copybara-Service

Disable small object optimization while debugging some failing tests.

PiperOrigin-RevId: 619598530
Change-Id: Ie4b808a3b826db8c271c81914c7a88d2c6216eb2
parent 18018aa4
...@@ -168,7 +168,7 @@ struct hash_policy_traits : common_policy_traits<Policy> { ...@@ -168,7 +168,7 @@ struct hash_policy_traits : common_policy_traits<Policy> {
#endif #endif
} }
// Whether small object optimization is enabled. True by default. // Whether small object optimization is enabled. False by default.
static constexpr bool soo_enabled() { return soo_enabled_impl(Rank1{}); } static constexpr bool soo_enabled() { return soo_enabled_impl(Rank1{}); }
private: private:
...@@ -197,7 +197,7 @@ struct hash_policy_traits : common_policy_traits<Policy> { ...@@ -197,7 +197,7 @@ struct hash_policy_traits : common_policy_traits<Policy> {
return P::soo_enabled(); return P::soo_enabled();
} }
static constexpr bool soo_enabled_impl(Rank0) { return true; } static constexpr bool soo_enabled_impl(Rank0) { return false; }
}; };
} // namespace container_internal } // namespace container_internal
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment