From 8d2aeea3a87f84ee9dfb9b4bdd07ac16d429a712 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 30 Jun 2005 21:49:40 +0000 Subject: [PATCH] Moved warning 8027 suppression above the #includes [SVN r29852] --- include/boost/detail/shared_count.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/detail/shared_count.hpp b/include/boost/detail/shared_count.hpp index 133e54e..49aca85 100644 --- a/include/boost/detail/shared_count.hpp +++ b/include/boost/detail/shared_count.hpp @@ -18,6 +18,10 @@ // http://www.boost.org/LICENSE_1_0.txt) // +#ifdef __BORLANDC__ +# pragma warn -8027 // Functions containing try are not expanded inline +#endif + #include #include #include @@ -30,10 +34,6 @@ #include // std::bad_alloc #include // std::type_info in get_deleter -#ifdef __BORLANDC__ -# pragma warn -8027 // Functions containing try are not expanded inline -#endif - namespace boost {