Boost logo

Boost Users :

Subject: Re: [Boost-users] boost variant + boost serialization unused type
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2015-02-09 12:20:47


2015-02-04 1:31 GMT+04:00 Merrill Cornish <merrill.cornish_at_[hidden]>:

> Using boost::variant with boost::serialization gives me a warning about
> unused type in the boost::serialization namespace:
>
> D:/Boost/boost/serialization/variant.hpp:69:75: warning: typedef 'types'
> locally defined but not used [-Wunused-local-typedefs]
> typedef typename boost::variant<BOOST_VARIANT_ENUM_PARAMS(T)>::types
> types;
>

Thanks for reporting the issue! Created a pull request to fix that:
https://github.com/boostorg/serialization/pull/8

-- 
Best regards,
Antony Polukhin


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net