From 327f045e45a835ce5a7fd07c65fc9c2656c3bf68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Hunold?= Date: Fri, 7 Oct 2016 10:23:27 +0200 Subject: [PATCH] Avoid class/struct mismatch in forward declaration and implementation set_info_rv is forwarded as "struct set_info_rv..." in exception.hpp and was implemented as "class set_info_rv...". This causes warnings in msvc and clang with -Weverything at least. --- include/boost/exception/info.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/boost/exception/info.hpp b/include/boost/exception/info.hpp index 28a8ecf8..77b42c5c 100644 --- a/include/boost/exception/info.hpp +++ b/include/boost/exception/info.hpp @@ -203,9 +203,9 @@ boost template E const & set_info( E const &, error_info && ); template - class set_info_rv; + struct set_info_rv; template - class + struct set_info_rv > { template @@ -225,7 +225,7 @@ boost } }; template <> - class + struct set_info_rv { template @@ -240,7 +240,7 @@ boost } }; template <> - class + struct set_info_rv { template @@ -255,7 +255,7 @@ boost } }; template <> - class + struct set_info_rv { template