Spreadsheet: Fix trouble with clang and MacOS

Since the Spreadsheet: support cell binding commit, I got trouble by building freecad. I didn't find similar reports in install/compile forum. So I will only use the old version of typedef for macos. Better solutions are welcome.

See [trouble details](https://github.com/FreeCAD/FreeCAD/commit/68fca409833ca0c8c3811ad4efddcfcc3e2e4255#commitcomment-62364932)
This commit is contained in:
Benjamin Alterauge
2021-12-30 17:40:45 +01:00
committed by wwmayer
parent 513d15886d
commit 458ae2307c
+4
View File
@@ -177,7 +177,11 @@ private:
typedef boost::adjacency_list< boost::listS, boost::vecS, boost::directedS > DiGraph;
typedef std::pair<int, int> Edge;
// Note: use std::map instead of unordered_map to keep the binding order stable
#ifdef FC_OS_MACOSX
typedef boost::unordered_map<const App::ObjectIdentifier, ExpressionInfo> ExpressionMap;
#else
typedef std::map<const App::ObjectIdentifier, ExpressionInfo> ExpressionMap;
#endif
std::vector<App::ObjectIdentifier> computeEvaluationOrder(ExecuteOption option);