diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2018-12-08 10:43:50 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2018-12-08 10:43:50 +0100 |
| commit | 0c1d1a0f24655c22a373c19aac90a6a225a353e6 (patch) | |
| tree | e65fe3c5f8b80bb59910c81c700eb3ed545848bb /src/command.hpp | |
| parent | f22d1b76c9a957a679b57ddcb67b33cc73a15de1 (diff) | |
| download | wanda-0c1d1a0f24655c22a373c19aac90a6a225a353e6.tar.xz wanda-0c1d1a0f24655c22a373c19aac90a6a225a353e6.zip | |
wanda: reformat source code
Diffstat (limited to 'src/command.hpp')
| -rw-r--r-- | src/command.hpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/command.hpp b/src/command.hpp index 5fac065..37afaae 100644 --- a/src/command.hpp +++ b/src/command.hpp @@ -9,23 +9,23 @@ namespace wanda { -enum struct command_id : char -{ + enum struct command_id : char + { change, -}; + }; -struct command -{ + struct command + { command_id const id; std::vector<std::string> const arguments; std::optional<wanda::message> message() const; -}; + }; -std::optional<command> make_command(message message); + std::optional<command> make_command(message message); -command make_change_command(); + command make_change_command(); -} // namespace wanda +} // namespace wanda #endif
\ No newline at end of file |
