Skip to content

Commit

Permalink
Fix missed override
Browse files Browse the repository at this point in the history
Signed-off-by: Fyodor Muratov <[email protected]>
  • Loading branch information
muratovv authored and lebdron committed Dec 19, 2017
1 parent cff8d4c commit 919c3c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions shared_model/backend/protobuf/commands/proto_command.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "utils/lazy_initializer.hpp"
#include "utils/variant_deserializer.hpp"

template<typename... T>
template <typename... T>
auto load(const iroha::protocol::Command &ar) {
shared_model::interface::Command::CommandVariantType result;
int which = ar.command_case() - 1;
Expand All @@ -34,10 +34,10 @@ auto load(const iroha::protocol::Command &ar) {

namespace shared_model {
namespace proto {
class Command final : public interface::Command {
class Command final : public interface::Command {
private:
/// polymorphic wrapper type shortcut
template<typename Value>
template <typename Value>
using w = detail::PolymorphicWrapper<Value>;
// private API

Expand Down Expand Up @@ -66,7 +66,7 @@ namespace shared_model {
return lazy_variant_.get();
}

ModelType *copy() const { return new Command(command_); }
ModelType *copy() const override { return new Command(command_); }

private:
// ------------------------------| fields |-------------------------------
Expand Down

0 comments on commit 919c3c0

Please sign in to comment.