From 8f30da6386fa414b9fe4c704b294a978df77347b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 19 Aug 2016 16:55:06 +0200 Subject: Some clang-tidy misc-move-constructor-init ...by turning the relevant ctor parameters into "const &". Change-Id: Ia8d0aba5da10ad6b25f8689e2281e45b3d71c1fc --- include/ucbhelper/std_inputstream.hxx | 2 +- include/ucbhelper/std_outputstream.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include/ucbhelper') diff --git a/include/ucbhelper/std_inputstream.hxx b/include/ucbhelper/std_inputstream.hxx index 5c217ccb9546..569713366d9c 100644 --- a/include/ucbhelper/std_inputstream.hxx +++ b/include/ucbhelper/std_inputstream.hxx @@ -34,7 +34,7 @@ namespace ucbhelper { public: - StdInputStream( boost::shared_ptr< std::istream > pStream ); + StdInputStream( boost::shared_ptr< std::istream > const & pStream ); virtual ~StdInputStream(); diff --git a/include/ucbhelper/std_outputstream.hxx b/include/ucbhelper/std_outputstream.hxx index c945b479b6c3..0537ee700fef 100644 --- a/include/ucbhelper/std_outputstream.hxx +++ b/include/ucbhelper/std_outputstream.hxx @@ -30,7 +30,7 @@ namespace ucbhelper { public: - StdOutputStream( boost::shared_ptr< std::ostream > pStream ); + StdOutputStream( boost::shared_ptr< std::ostream > const & pStream ); virtual ~StdOutputStream( ); -- cgit