Commit e37ee419 authored by Björn Schäpers's avatar Björn Schäpers Committed by Victor Zverovich

Export exceptions destructors

Reenabling Compiling and Linking as DLL.
parent e3488fca
......@@ -219,8 +219,8 @@ FMT_FUNC Char internal::thousands_sep_impl(locale_ref) {
}
#endif
FMT_FUNC format_error::~format_error() FMT_NOEXCEPT {}
FMT_FUNC system_error::~system_error() FMT_NOEXCEPT {}
FMT_API FMT_FUNC format_error::~format_error() FMT_NOEXCEPT {}
FMT_API FMT_FUNC system_error::~system_error() FMT_NOEXCEPT {}
FMT_FUNC void system_error::init(int err_code, string_view format_str,
format_args args) {
......
......@@ -417,7 +417,7 @@ typedef basic_memory_buffer<char> memory_buffer;
typedef basic_memory_buffer<wchar_t> wmemory_buffer;
/** A formatting error such as invalid format string. */
class format_error : public std::runtime_error {
class FMT_API format_error : public std::runtime_error {
public:
explicit format_error(const char* message) : std::runtime_error(message) {}
explicit format_error(const std::string& message)
......@@ -2198,7 +2198,7 @@ class arg_formatter : public internal::arg_formatter_base<Range> {
An error returned by an operating system or a language runtime,
for example a file opening error.
*/
class system_error : public std::runtime_error {
class FMT_API system_error : public std::runtime_error {
private:
FMT_API void init(int err_code, string_view format_str, format_args args);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment