diff options
author | Szczepan Zalega <szczepan.zalega@gmail.com> | 2016-03-05 15:50:53 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan.zalega@gmail.com> | 2016-03-05 15:50:53 +0100 |
commit | 27434dc0e877845cbfb229c5154c342107866fd5 (patch) | |
tree | 7b0739b206ffcecb757083f16318326667b7c36c /include/command.h | |
parent | 4c511bc53788ada875fd0221b1cc3d4f8b269f91 (diff) | |
download | libnitrokey-27434dc0e877845cbfb229c5154c342107866fd5.tar.gz libnitrokey-27434dc0e877845cbfb229c5154c342107866fd5.tar.bz2 |
formatted code with clang-format-3.6 with style=google
Diffstat (limited to 'include/command.h')
-rw-r--r-- | include/command.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/include/command.h b/include/command.h index 6a3e8b4..715902d 100644 --- a/include/command.h +++ b/include/command.h @@ -7,19 +7,16 @@ namespace nitrokey { namespace proto { -template <CommandID cmd_id> +template <CommandID cmd_id> class Command : semantics::non_constructible { -public: - constexpr static CommandID command_id() { - return cmd_id; - } + public: + constexpr static CommandID command_id() { return cmd_id; } - template<typename T> - static std::string dissect(const T &) { - return std::string("Payload dissection is unavailable"); - } + template <typename T> + static std::string dissect(const T &) { + return std::string("Payload dissection is unavailable"); + } }; - } } |