From f3b51ae5d1f99bc693904c8dd8163703babb8248 Mon Sep 17 00:00:00 2001 From: Emil Dotchevski Date: Mon, 13 Apr 2009 05:41:31 +0000 Subject: [PATCH] fixing an error that caused warnings in diagnostic_information.hpp [SVN r52364] --- include/boost/exception/current_exception_cast.hpp | 2 +- include/boost/exception/diagnostic_information.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/exception/current_exception_cast.hpp b/include/boost/exception/current_exception_cast.hpp index 1147d71..228b6ea 100644 --- a/include/boost/exception/current_exception_cast.hpp +++ b/include/boost/exception/current_exception_cast.hpp @@ -1,4 +1,4 @@ -//Copyright (c) 2006-2008 Emil Dotchevski and Reverge Studios, Inc. +//Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc. //Distributed under the Boost Software License, Version 1.0. (See accompanying //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) diff --git a/include/boost/exception/diagnostic_information.hpp b/include/boost/exception/diagnostic_information.hpp index cea07df..2c66220 100644 --- a/include/boost/exception/diagnostic_information.hpp +++ b/include/boost/exception/diagnostic_information.hpp @@ -23,7 +23,7 @@ boost struct enable_boost_exception_overload { - typedef struct yes { char q[100]; }; + struct yes { char q[100]; }; typedef char no; static yes check(exception const *); static no check(...); @@ -34,7 +34,7 @@ boost struct enable_std_exception_overload { - typedef struct yes { char q[100]; }; + struct yes { char q[100]; }; typedef char no; static yes check(std::exception const *); static no check(...);