boostorg / interval

Boost.org numeric interval library
http://boost.org/libs/numeric/interval/doc
Boost Software License 1.0
24 stars 44 forks source link

Unused typedef in norm causes compiler warning #10

Closed g4wjs closed 7 years ago

g4wjs commented 7 years ago

The unused typedef in the body of norm() causes:

/boost/boost/numeric/interval/utility.hpp: In function 'T boost::numeric::norm(const boost::numeric::interval<T, Policies>&)': /boost/boost/numeric/interval/utility.hpp:251:33: warning: typedef 'I' locally defined but not used [-Wunused-local-typedefs] typedef interval<T, Policies> I; ^