aboutsummaryrefslogtreecommitdiffstats
path: root/src/diagram/branchstatement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/diagram/branchstatement.cpp')
-rw-r--r--src/diagram/branchstatement.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/diagram/branchstatement.cpp b/src/diagram/branchstatement.cpp
index 2835f35..6511c6c 100644
--- a/src/diagram/branchstatement.cpp
+++ b/src/diagram/branchstatement.cpp
@@ -1,8 +1,10 @@
-#include "diagram/BranchStatement.hpp"
+#include "diagram/branchstatement.h"
using namespace samb;
-BranchStatement::BranchStatement(Type t, const std::string& condition, pointer next): Statement(t, condition, next) {
+BranchStatement::BranchStatement(Type t, const QString &condition, pointer next) :
+ Statement(t, condition, next)
+{
switch (t) {
case Statement::Type::DECISION:
case Statement::Type::SWITCH: