summaryrefslogtreecommitdiffstats
path: root/src/include/util
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2015-12-07 16:11:54 -0600
committerPatrick Williams <iawillia@us.ibm.com>2015-12-11 15:30:27 -0600
commit6aab5b3a5300c63bbbfeecf243c8fb2bd6bd0681 (patch)
treef68674323300ca7f2ff3eb0a945fc7bef45f210e /src/include/util
parente95f1b15004d7c0c53673f879a99bf0e1ae9cd97 (diff)
downloadtalos-hostboot-6aab5b3a5300c63bbbfeecf243c8fb2bd6bd0681.tar.gz
talos-hostboot-6aab5b3a5300c63bbbfeecf243c8fb2bd6bd0681.zip
shared_ptr r-value ref ctor didn't match standard
Change-Id: I4825be8ff9929eadc3ee78d2141f6a3d43ea751b Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22518 Reviewed-by: Christian Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/util')
-rw-r--r--src/include/util/impl/shared_ptr.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/util/impl/shared_ptr.H b/src/include/util/impl/shared_ptr.H
index 4530b5acf..a6cca17e5 100644
--- a/src/include/util/impl/shared_ptr.H
+++ b/src/include/util/impl/shared_ptr.H
@@ -93,14 +93,14 @@ namespace std
return *this;
}
- shared_ptr& operator=(const shared_ptr&& r)
+ shared_ptr& operator=(shared_ptr&& r)
{
_cleanup();
_swap(std::move(r));
return *this;
}
- template<typename U> shared_ptr& operator=(const shared_ptr<U>&& r)
+ template<typename U> shared_ptr& operator=(shared_ptr<U>&& r)
{
_cleanup();
_swap(std::move(r));
OpenPOWER on IntegriCloud