aboutsummaryrefslogtreecommitdiff
path: root/include/axolotl/list.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/axolotl/list.hh')
-rw-r--r--include/axolotl/list.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/axolotl/list.hh b/include/axolotl/list.hh
index d1407b8..ae8900c 100644
--- a/include/axolotl/list.hh
+++ b/include/axolotl/list.hh
@@ -92,7 +92,7 @@ public:
}
List<T, max_size> & operator=(List<T, max_size> const & other) {
- if (this = &other) {
+ if (this == &other) {
return *this;
}
T * this_pos = _data;