summaryrefslogtreecommitdiff
path: root/ACE/tests
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2019-02-02 14:59:06 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2019-02-02 14:59:06 +0100
commit3554f6e355e777cbb598b91719f0c3b8cee2d872 (patch)
tree38cb7a1382fd154c4a8af655e4fa495aef0cfa24 /ACE/tests
parentf445e77238e43314ffd71575020ea1724423c0de (diff)
downloadATCD-3554f6e355e777cbb598b91719f0c3b8cee2d872.tar.gz
Assignment should return non const reference
* ACE/tests/STL_algorithm_Test_T.cpp:
Diffstat (limited to 'ACE/tests')
-rw-r--r--ACE/tests/STL_algorithm_Test_T.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/tests/STL_algorithm_Test_T.cpp b/ACE/tests/STL_algorithm_Test_T.cpp
index d1147f2f99b..29e34919c26 100644
--- a/ACE/tests/STL_algorithm_Test_T.cpp
+++ b/ACE/tests/STL_algorithm_Test_T.cpp
@@ -21,7 +21,7 @@ public:
ACE_UNUSED_ARG (item);
}
- const Element_Counter & operator = (const Element_Counter & ec)
+ Element_Counter & operator = (const Element_Counter & ec)
{
this->count_ = ec.count_;
return *this;