diff options
author | Nao Pross <naopross@thearcway.org> | 2017-12-18 00:00:21 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2017-12-18 00:00:21 +0100 |
commit | 2e27a93e3ed189b4d96ec7df6e05b102dd2e841a (patch) | |
tree | 6952edd5db3b4075532c4ce75bda764d5a67051b /src/diagram/BranchStatement.hpp | |
parent | Update .gitignore and minor changes (mostly formatting) (diff) | |
download | OrbitingYeti-2e27a93e3ed189b4d96ec7df6e05b102dd2e841a.tar.gz OrbitingYeti-2e27a93e3ed189b4d96ec7df6e05b102dd2e841a.zip |
Replace tabs with spaces, set up CMake build system
Other changes:
- update gitignore
- build scripts under `etc`
- fix window
Diffstat (limited to '')
-rw-r--r-- | src/diagram/BranchStatement.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/diagram/BranchStatement.hpp b/src/diagram/BranchStatement.hpp index 1f07e5a..b7cc495 100644 --- a/src/diagram/BranchStatement.hpp +++ b/src/diagram/BranchStatement.hpp @@ -16,18 +16,18 @@ namespace samb { class BranchStatement: public Statement { public: - BranchStatement(Type t, const std::string& condition, pointer next); + BranchStatement(Type t, const std::string& condition, pointer next); - /* accessors */ - const std::map<std::string, pointer>& branches() const { return m_branches; } - std::size_t branchesCount() const { return m_branchesCount; } + /* accessors */ + const std::map<std::string, pointer>& branches() const { return m_branches; } + std::size_t branchesCount() const { return m_branchesCount; } - inline const std::string& condition() const { return text(); } - inline void condition(const std::string& condition) { return text(condition); } + inline const std::string& condition() const { return text(); } + inline void condition(const std::string& condition) { return text(condition); } private: - std::map<std::string, pointer> m_branches; - std::size_t m_branchesCount = 0; + std::map<std::string, pointer> m_branches; + std::size_t m_branchesCount = 0; }; } /* namespace samb */ |