Skip to content
Snippets Groups Projects
Commit 78a7b6cb authored by Jan Travnicek's avatar Jan Travnicek
Browse files

tiny change in tree containers

parent 32358c58
No related branches found
No related tags found
1 merge request!95Many clang-tidy fixes
Pipeline #41220 passed with warnings
...@@ -816,7 +816,7 @@ public: ...@@ -816,7 +816,7 @@ public:
* \return the assigned to instance * \return the assigned to instance
*/ */
tree & operator =( const tree & node ) { tree & operator =( const tree & node ) {
return this->operator =( tree ( node ) ); return * this = tree ( node );
} }
   
/** /**
......
...@@ -284,7 +284,7 @@ public: ...@@ -284,7 +284,7 @@ public:
* \return the assigned to instance * \return the assigned to instance
*/ */
trie & operator =( const trie & node ) { trie & operator =( const trie & node ) {
return this->operator =( trie ( node ) ); return * this = trie ( node );
} }
   
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment