diff --git a/ortools/sat/model.h b/ortools/sat/model.h index c2dfadb7de..c6914f2293 100644 --- a/ortools/sat/model.h +++ b/ortools/sat/model.h @@ -192,13 +192,7 @@ class Model { const std::string name_; // Map of FastTypeId to a "singleton" of type T. -#if defined(__APPLE__) - // On Mac OS X, hashing is DLL dependent. It breaks cross dll usages of the - // model APIs. This happens in SWIG wrappers. - std::map singletons_; -#else absl::flat_hash_map singletons_; -#endif struct DeleteInterface { virtual ~DeleteInterface() = default;