diff options
Diffstat (limited to 'TAO/tao/Valuetype/Valuetype_Traits_T.h')
-rw-r--r-- | TAO/tao/Valuetype/Valuetype_Traits_T.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/tao/Valuetype/Valuetype_Traits_T.h b/TAO/tao/Valuetype/Valuetype_Traits_T.h index 74b93e3065c..ae21fe9e4d9 100644 --- a/TAO/tao/Valuetype/Valuetype_Traits_T.h +++ b/TAO/tao/Valuetype/Valuetype_Traits_T.h @@ -42,7 +42,7 @@ struct valuetype_traits_decorator std::generate(begin, end, &derived::default_initializer); } -# if !defined (ACE_LACKS_MEMBER_TEMPLATES) +# ifndef ACE_LACKS_MEMBER_TEMPLATES // Allow MSVC++ >= 8 checked iterators to be used. template <typename iter> inline static void copy_range( @@ -50,15 +50,15 @@ struct valuetype_traits_decorator { std::transform(begin, end, dst, &derived::duplicate); } -# else +#else inline static void copy_range( object_type ** begin, object_type ** end, object_type ** dst) { std::transform(begin, end, dst, &derived::duplicate); } -# endif /* ACE_LACKS_MEMBER_TEMPLATES */ +#endif /* ACE_LACKS_MEMBER_TEMPLATES */ -# if !defined (ACE_LACKS_MEMBER_TEMPLATES) +#ifndef ACE_LACKS_MEMBER_TEMPLATES // Allow MSVC++ >= 8 checked iterators to be used. template <typename iter> inline static void copy_swap_range( @@ -66,13 +66,13 @@ struct valuetype_traits_decorator { std::swap_ranges(begin, end, dst); } -# else +#else inline static void copy_swap_range( object_type ** begin, object_type ** end, object_type ** dst) { std::swap_ranges(begin, end, dst); } -# endif /* ACE_LACKS_MEMBER_TEMPLATES */ +#endif /* ACE_LACKS_MEMBER_TEMPLATES */ inline static void release_range( object_type ** begin, object_type ** end) |