From 62bd9aa4da85ef87c4d9a9bb7911f8a4e0ac9986 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Mon, 18 Dec 2017 23:01:33 +0100 Subject: Moved to QtCreator project with QMake --- src/diagram/BranchStatement.cpp | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 src/diagram/BranchStatement.cpp (limited to 'src/diagram/BranchStatement.cpp') diff --git a/src/diagram/BranchStatement.cpp b/src/diagram/BranchStatement.cpp deleted file mode 100644 index 6345c1b..0000000 --- a/src/diagram/BranchStatement.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* - * BranchStatement.cpp - * - * Created on: Nov 28, 2017 - * Author: naopross - */ - -#include "BranchStatement.hpp" - -using namespace samb; - -BranchStatement::BranchStatement(Type t, const std::string& condition, pointer next): Statement(t, condition, next) { - switch (t) { - case Statement::Type::DECISION: - case Statement::Type::SWITCH: - break; - - default: - throw std::invalid_argument("BranchStatement can only be of type DECISION or SWITCH"); - } -} -- cgit v1.2.1