From bb9a899b7c45b830c6b70e2811130a41ebb31ee5 Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Thu, 20 Sep 2012 15:19:49 +1000 Subject: Remove exceptions and C++11 features for LLVM. --- impl/VariableAssignment.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'impl/VariableAssignment.hpp') diff --git a/impl/VariableAssignment.hpp b/impl/VariableAssignment.hpp index 371ba56..69eeef2 100644 --- a/impl/VariableAssignment.hpp +++ b/impl/VariableAssignment.hpp @@ -25,7 +25,7 @@ struct DynamicVariableAssignment : public VariableAssignment { _values(system.variableCount(), infinity()), _stable(system.variableCount()), _influence(system.variableCount(), - IdSet>(system.variableCount())) + IdSet >(system.variableCount())) { } const Domain& operator[](const Variable& var) const { @@ -54,7 +54,7 @@ private: if (val != _values[x]) { log::fixpoint << x << " = " << val << std::endl; - auto oldInfluence = _influence[x]; + IdSet > oldInfluence = _influence[x]; _influence[x].clear(); _values[x] = val; @@ -62,7 +62,7 @@ private: _stable.filter(oldInfluence); - for (auto it = oldInfluence.begin(); + for (typename IdSet >::iterator it = oldInfluence.begin(); it != oldInfluence.end(); ++it) { solve(_system.variable(*it)); -- cgit v1.2.3