This is the piece of the CentOS 6.5 patch that cleans up the compiler build errors due to C + + 11 code in the Haskell and C++ generators.
C + + 11 elements replaced:
- Ranged for loops: for ( auto x : container )
- Type deduction: auto
- NULL assignment to boost::shared_ptr: replaced with .reset()
- Constructor initialization of boost::shared_ptr with 0: replaced with ""
- Nondeterministic compiler dependent for loop scoping: changed iterators to inner scope