2
0
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:
Andrey Semashev
2015-03-28 21:20:55 +03:00
parent 2e7eb45f48
commit f1337c6fbc
15 changed files with 89 additions and 76 deletions

View File

@@ -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)