diff options
author | Noel Grandin <noel@peralex.com> | 2014-07-18 11:45:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-07-18 14:24:19 +0200 |
commit | a517898052a739433759e23aada84c7d11b727a7 (patch) | |
tree | 49f8fd5094b032c12248d599aa74e5ad4cd95673 /slideshow | |
parent | (related: fdo#79319): writerfilter: RTF imoprt: don't lose shapes in header (diff) | |
download | core-a517898052a739433759e23aada84c7d11b727a7.tar.gz core-a517898052a739433759e23aada84c7d11b727a7.zip |
remove unnecessary "const &" qualifier from T* parameters
e.g. convert code like
foo(X * const & p)
to
foo(X * p)
since the "const &" part of it adds nothing useful.
Change-Id: Icf5f2041517259e7b6e055b75ed1e0e77c547da5
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/inc/tools.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/inc/tools.hxx b/slideshow/source/inc/tools.hxx index 98e92a6bf5a9..4e8037e3f3d3 100644 --- a/slideshow/source/inc/tools.hxx +++ b/slideshow/source/inc/tools.hxx @@ -70,7 +70,7 @@ namespace slideshow typedef ::boost::shared_ptr< GDIMetaFile > GDIMetaFileSharedPtr; template <typename T> - inline ::std::size_t hash_value( T * const& p ) + inline ::std::size_t hash_value( T const * p ) { ::std::size_t d = static_cast< ::std::size_t >( reinterpret_cast< ::std::ptrdiff_t >(p) ); |