From 9afd67853292f248d43c4c90bf50a16cbc620d03 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 18 Sep 2018 22:30:54 +0300 Subject: [PATCH] Revert "Add BOOST_SYMBOL_VISIBLE to generic_error_category and system_error_category, to placate ubsan" This reverts commit a9909bb82b65bcb3dbbf18fc0383e57a5fe65f0f. --- include/boost/system/error_code.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/system/error_code.hpp b/include/boost/system/error_code.hpp index cac3a3b..251ddce 100644 --- a/include/boost/system/error_code.hpp +++ b/include/boost/system/error_code.hpp @@ -361,7 +361,7 @@ namespace detail # define BOOST_SYSTEM_DECL_ BOOST_SYSTEM_DECL #endif -class BOOST_SYMBOL_VISIBLE generic_error_category: public error_category +class generic_error_category: public error_category { public: @@ -379,7 +379,7 @@ public: BOOST_SYSTEM_DECL_ std::string message( int ev ) const; }; -class BOOST_SYMBOL_VISIBLE system_error_category: public error_category +class system_error_category: public error_category { public: