leapmotion / autowiring

A C++ Inversion of Control Framework
http://autowiring.io/
Apache License 2.0
148 stars 17 forks source link

Remove references to std::tr1 #1037

Closed jdonald closed 6 years ago

jdonald commented 6 years ago

Visual Studio 2017 version 15.5 has deprecated the std::tr1 namespace, leading to significant warning spew. It'll also fail to compile if we set the C++17 flag. The other condition where we could require <tr1/tuple> would be on Android if using STLport, but we've never supported that config.

According to the gtest docs, setting the flag in the build flow is preferred over editing gtest.h directly.

hham commented 6 years ago

looks good.