summaryrefslogtreecommitdiff
path: root/src/Simplex_tree/include/gudhi/Simplex_tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Simplex_tree/include/gudhi/Simplex_tree.h')
-rw-r--r--src/Simplex_tree/include/gudhi/Simplex_tree.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Simplex_tree/include/gudhi/Simplex_tree.h b/src/Simplex_tree/include/gudhi/Simplex_tree.h
index 13d7372c..78697ea2 100644
--- a/src/Simplex_tree/include/gudhi/Simplex_tree.h
+++ b/src/Simplex_tree/include/gudhi/Simplex_tree.h
@@ -323,8 +323,7 @@ class Simplex_tree {
}
/** \brief User-defined copy assignment reproduces the whole tree structure. */
- Simplex_tree& operator= (const Simplex_tree& complex_source)
- {
+ Simplex_tree& operator= (const Simplex_tree& complex_source) {
#ifdef DEBUG_TRACES
std::cout << "Simplex_tree copy assignment" << std::endl;
#endif // DEBUG_TRACES
@@ -341,8 +340,7 @@ class Simplex_tree {
/** \brief User-defined move assignment relocates the whole tree structure.
* \exception std::invalid_argument In debug mode, if the complex_source is invalid.
*/
- Simplex_tree& operator=(Simplex_tree&& complex_source)
- {
+ Simplex_tree& operator=(Simplex_tree&& complex_source) {
#ifdef DEBUG_TRACES
std::cout << "Simplex_tree move assignment" << std::endl;
#endif // DEBUG_TRACES