summaryrefslogtreecommitdiffstats
path: root/Project/ConnectionLine.cpp
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-05-16 19:07:49 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-05-16 19:07:49 -0300
commit1158ce068e3b5b391604270bf10c52d0d2f7f4db (patch)
tree7e9b770ede3c0592f631b9e6982be55d2173ea04 /Project/ConnectionLine.cpp
parentc6c3ff70bfceac839af471c11fc8aa04060517b0 (diff)
downloadPSP.git-1158ce068e3b5b391604270bf10c52d0d2f7f4db.tar.gz
PSP.git-1158ce068e3b5b391604270bf10c52d0d2f7f4db.tar.xz
PSP.git-1158ce068e3b5b391604270bf10c52d0d2f7f4db.zip
Sync generator control fixed
Diffstat (limited to 'Project/ConnectionLine.cpp')
-rw-r--r--Project/ConnectionLine.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Project/ConnectionLine.cpp b/Project/ConnectionLine.cpp
index ea04e5e..0258f2e 100644
--- a/Project/ConnectionLine.cpp
+++ b/Project/ConnectionLine.cpp
@@ -184,3 +184,10 @@ void ConnectionLine::RemoveParent(Element* parent)
if(element == parent) m_parentList.erase(it--);
}
}
+
+Element* ConnectionLine::GetCopy()
+{
+ ConnectionLine* copy = new ConnectionLine();
+ *copy = *this;
+ return copy;
+}