Mark to_std_category as BOOST_SYMBOL_VISIBLE

This commit is contained in:
Peter Dimov
2019-04-24 23:18:19 +03:00
parent 907c867cd1
commit afc51937be

View File

@ -53,6 +53,8 @@ public:
virtual bool equivalent( const std::error_code & code, int condition ) const BOOST_NOEXCEPT;
};
inline std::error_category const & to_std_category( boost::system::error_category const & cat ) BOOST_SYMBOL_VISIBLE;
inline std::error_category const & to_std_category( boost::system::error_category const & cat )
{
typedef std::map< boost::system::error_category const *, std::unique_ptr<std_category> > map_type;