diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-08-19 16:55:06 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-08-19 16:55:06 +0200 |
commit | 8f30da6386fa414b9fe4c704b294a978df77347b (patch) | |
tree | 980e4018acff7a24a6399e33d7e1897fa6c9308c /include/ucbhelper | |
parent | 9e310a4705ce956551059040696166aefb2388cb (diff) |
Some clang-tidy misc-move-constructor-init
...by turning the relevant ctor parameters into "const &".
Change-Id: Ia8d0aba5da10ad6b25f8689e2281e45b3d71c1fc
Diffstat (limited to 'include/ucbhelper')
-rw-r--r-- | include/ucbhelper/std_inputstream.hxx | 2 | ||||
-rw-r--r-- | include/ucbhelper/std_outputstream.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
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( ); |