aboutsummaryrefslogtreecommitdiffstats
path: root/src/diagram/Statement.cpp
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2017-11-28 23:29:33 +0100
committerNao Pross <naopross@thearcway.org>2017-11-28 23:29:33 +0100
commit11a946c727a7db04ffabf4e8b24975fb302bc808 (patch)
tree144870958898c9c3255282654a95dc37d63d2628 /src/diagram/Statement.cpp
parentNew data structure for Structogram and Statements (diff)
downloadOrbitingYeti-11a946c727a7db04ffabf4e8b24975fb302bc808.tar.gz
OrbitingYeti-11a946c727a7db04ffabf4e8b24975fb302bc808.zip
Update .gitignore and minor changes (mostly formatting)
Diffstat (limited to 'src/diagram/Statement.cpp')
-rw-r--r--src/diagram/Statement.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/diagram/Statement.cpp b/src/diagram/Statement.cpp
index d708dd9..dc4bfb7 100644
--- a/src/diagram/Statement.cpp
+++ b/src/diagram/Statement.cpp
@@ -10,6 +10,8 @@
namespace samb {
/* Statement */
+
+Statement::Statement(Type t, const std::string& text): type(t), m_text(text), m_next(nullptr) {}
Statement::Statement(Type t, const std::string& text, Statement::pointer p): type(t), m_text(text), m_next(p) {}
Statement::~Statement() {}