diff options
Diffstat (limited to 'include/diagram/branchstatement.h')
-rw-r--r-- | include/diagram/branchstatement.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/diagram/branchstatement.h b/include/diagram/branchstatement.h index 6c5e416..3d8c385 100644 --- a/include/diagram/branchstatement.h +++ b/include/diagram/branchstatement.h @@ -8,13 +8,15 @@ namespace samb { +/* Implementation for Statement::DECISION, Statement::SWITCH + */ class BranchStatement : public Statement { public: BranchStatement(Type t, const QString &condition, pointer next); /* accessors */ - const std::map<QString, pointer>& branches() const { return _branches; } + std::map<QString, pointer>& branches() { return _branches; } std::size_t branches_count() const { return _branchesCount; } inline const QString& condition() const { return text(); } |