|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r64161 - sandbox/gil/boost/gil/extension/io2
From: dsaritz_at_[hidden]
Date: 2010-07-19 15:08:29
Author: psiha
Date: 2010-07-19 15:08:28 EDT (Mon, 19 Jul 2010)
New Revision: 64161
URL: http://svn.boost.org/trac/boost/changeset/64161
Log:
Fixed a warning.
Minor stylistic change.
Text files modified:
sandbox/gil/boost/gil/extension/io2/formatted_image.hpp | 2 +-
sandbox/gil/boost/gil/extension/io2/gp_private_base.hpp | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
Modified: sandbox/gil/boost/gil/extension/io2/formatted_image.hpp
==============================================================================
--- sandbox/gil/boost/gil/extension/io2/formatted_image.hpp (original)
+++ sandbox/gil/boost/gil/extension/io2/formatted_image.hpp 2010-07-19 15:08:28 EDT (Mon, 19 Jul 2010)
@@ -526,7 +526,7 @@
template <typename View>
bool can_do_inplace_transform( typename formatted_image_traits<Impl>::format_t const my_format ) const
{
- return ( Impl::format_size( my_format ) == memunit_step( get_original_view_t<View>::type::x_iterator() )/*sizeof( typename get_original_view_t<View>::type::value_type )*/ );
+ return ( Impl::format_size( my_format ) == static_cast<std::size_t>( memunit_step( get_original_view_t<View>::type::x_iterator() ) ) );
}
// A generic implementation...impl classes are encouraged to provide more
Modified: sandbox/gil/boost/gil/extension/io2/gp_private_base.hpp
==============================================================================
--- sandbox/gil/boost/gil/extension/io2/gp_private_base.hpp (original)
+++ sandbox/gil/boost/gil/extension/io2/gp_private_base.hpp 2010-07-19 15:08:28 EDT (Mon, 19 Jul 2010)
@@ -310,7 +310,6 @@
boost::array<wchar_t, MAX_PATH> wideFileName_;
};
-
public: /// \ingroup Construction
explicit gp_image( wchar_t const * const filename )
{
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