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](68fca40983 (commitcomment-62364932))
This commit is contained in:
committed by
wwmayer
parent
513d15886d
commit
458ae2307c
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user