mirror of
https://github.com/boostorg/log.git
synced 2026-02-01 08:32:15 +00:00
Ported library to Boost.TypeIndex. This solves symbol visibility problems with Clang on Linux when the library is built with -fvisibility=hidden.
This commit is contained in:
@@ -129,7 +129,7 @@ void invalid_type::throw_(const char* file, std::size_t line, std::string const&
|
||||
);
|
||||
}
|
||||
|
||||
void invalid_type::throw_(const char* file, std::size_t line, std::string const& descr, type_info_wrapper const& type)
|
||||
void invalid_type::throw_(const char* file, std::size_t line, std::string const& descr, typeindex::type_index const& type)
|
||||
{
|
||||
boost::throw_exception(boost::enable_error_info(invalid_type(descr))
|
||||
<< boost::throw_file(file)
|
||||
@@ -138,7 +138,7 @@ void invalid_type::throw_(const char* file, std::size_t line, std::string const&
|
||||
);
|
||||
}
|
||||
|
||||
void invalid_type::throw_(const char* file, std::size_t line, std::string const& descr, attribute_name const& name, type_info_wrapper const& type)
|
||||
void invalid_type::throw_(const char* file, std::size_t line, std::string const& descr, attribute_name const& name, typeindex::type_index const& type)
|
||||
{
|
||||
boost::throw_exception(boost::enable_error_info(invalid_type(descr))
|
||||
<< boost::throw_file(file)
|
||||
|
||||
Reference in New Issue
Block a user