occt: master 60a6678e

Author Committer Branch Timestamp Parent
abv abv master 2016-03-11 13:44:55 master 41c012f0
Affected Issues  0027254: [Regression] 7.0 types initialization mechanism is not thread-safe on VS2013
Changeset 0027254: [Regression] 7.0 types initialization mechanism is not thread-safe on VS2013

The code in Standard_Type::type_instance<T>::get() distinguishes between compilers supporting and not supporting N2660. VS2013 was incorrectly considered as supporting, although the comment stated the opposite.

The fix makes VS2013 treated as not supporting N2660.
mod - src/Standard/Standard_Type.hxx Diff File