Boost logo

Boost-Commit :

From: hljin_at_[hidden]
Date: 2007-11-06 14:15:03


Author: hljin
Date: 2007-11-06 14:15:03 EST (Tue, 06 Nov 2007)
New Revision: 40850
URL: http://svn.boost.org/trac/boost/changeset/40850

Log:
GIL: removed an extra semi-colon and made some cosmetic changes
Text files modified:
   trunk/boost/gil/extension/dynamic_image/apply_operation_base.hpp | 12 ++++++------
   trunk/boost/gil/image_view_factory.hpp | 6 +++---
   2 files changed, 9 insertions(+), 9 deletions(-)

Modified: trunk/boost/gil/extension/dynamic_image/apply_operation_base.hpp
==============================================================================
--- trunk/boost/gil/extension/dynamic_image/apply_operation_base.hpp (original)
+++ trunk/boost/gil/extension/dynamic_image/apply_operation_base.hpp 2007-11-06 14:15:03 EST (Tue, 06 Nov 2007)
@@ -27,7 +27,7 @@
 /// casts the object to its appropriate type and applies the operation
 /// \author Lubomir Bourdev and Hailin Jin \n
 /// Adobe Systems Incorporated
-/// \date 2005-2006 \n Last updated on May 4, 2006
+/// \date 2005-2007 \n Last updated on November 6, 2007
 ///
 ////////////////////////////////////////////////////////////////////////////////////////
 
@@ -96,11 +96,11 @@
 #define GIL_GENERATE_APPLY_FWD_OPS(N) BOOST_PP_REPEAT(N, GIL_APPLY_FWD_OP, BOOST_PP_EMPTY)
 
 namespace detail {
- template <std::size_t N> struct apply_operation_fwd_fn {};
+template <std::size_t N> struct apply_operation_fwd_fn {};
 
- // Create specializations of apply_operation_fn for each N 0..100
- GIL_GENERATE_APPLY_FWD_OPS(99)
-}
+// Create specializations of apply_operation_fn for each N 0..100
+GIL_GENERATE_APPLY_FWD_OPS(99)
+} // namespace detail
 
 // unary application
 template <typename Types, typename Bits, typename Op>
@@ -141,7 +141,7 @@
             return apply_operation_basec<Types1>(_bits1, _index1, reduce_bind1<T2,Op>(t2, _op));
         }
     };
-}
+} // namespace detail
 
 // Binary application by applying on each dimension separately
 template <typename Types1, typename Types2, typename Bits1, typename Bits2, typename Op>

Modified: trunk/boost/gil/image_view_factory.hpp
==============================================================================
--- trunk/boost/gil/image_view_factory.hpp (original)
+++ trunk/boost/gil/image_view_factory.hpp 2007-11-06 14:15:03 EST (Tue, 06 Nov 2007)
@@ -93,7 +93,7 @@
 
     template <typename View> struct channel_pointer_type
         : public channel_pointer_type_impl<View, view_is_mutable<View>::value> {};
-};
+} // namespace detail
 
 /// \ingroup ImageViewConstructors
 /// \brief Returns C pointer to the the channels of an interleaved homogeneous view.
@@ -379,7 +379,7 @@
             return AD::make(src, deref_t(n));
         }
     };
-}
+} // namespace detail
 
 /// \brief Given a source image view type View, returns the type of an image view over a single channel of View
 /// \ingroup ImageViewTransformationsNthChannel
@@ -508,7 +508,7 @@
             return AD::make(src, deref_t());
         }
     };
-}
+} // namespace detail
 
 /// \brief Given a source image view type View, returns the type of an image view over a given channel of View.
 /// \ingroup ImageViewTransformationsKthChannel


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk