|
Boost : |
From: Malte Starostik (malte_at_[hidden])
Date: 2003-06-26 06:32:48
This removes a "possible use of 'tag' before definition" warning with
BCB.
--- slot.hpp.orig Thu Jun 26 13:29:32 2003
+++ slot.hpp Thu Jun 26 13:30:28 2003
@@ -88,8 +88,14 @@ namespace boost {
typename BOOST_SIGNALS_NAMESPACE::detail::get_slot_tag<F>::type
tag_type(const F&)
{
+#ifdef __BORLANDC__
+# pragma option push -w-8013
+#endif
typename BOOST_SIGNALS_NAMESPACE::detail::get_slot_tag<F>::type
tag;
return tag;
+#ifdef __BORLANDC__
+# pragma option pop
+#endif
}
} // end namespace BOOST_SIGNALS_NAMESPACE
Regards,
-Malte
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk