avoid_unused_warning.hpp 709 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef BOOST_STATECHART_DETAIL_AVOID_UNUSED_WARNING_HPP_INCLUDED
  2. #define BOOST_STATECHART_DETAIL_AVOID_UNUSED_WARNING_HPP_INCLUDED
  3. //////////////////////////////////////////////////////////////////////////////
  4. // Copyright 2002-2006 Andreas Huber Doenni
  5. // Distributed under the Boost Software License, Version 1.0. (See accompany-
  6. // ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  7. //////////////////////////////////////////////////////////////////////////////
  8. namespace boost
  9. {
  10. namespace statechart
  11. {
  12. namespace detail
  13. {
  14. template< typename T >
  15. inline void avoid_unused_warning( const T & ) {}
  16. } // namespace detail
  17. } // namespace statechart
  18. } // namespace boost
  19. #endif