Unverified Commit c102ba9b authored by Ilya Churaev's avatar Ilya Churaev Committed by GitHub

Fixed warning "control reaches end of non-void function" (#4297)

* Fixed warning "control reaches end of non-void function"

* Fixed codestyle
Co-authored-by: 's avatarScott Cyphers <diyessi@users.noreply.github.com>
parent 554d9e53
......@@ -260,9 +260,7 @@ namespace ngraph
auto vector = get_vector<uint64_t>();
return std::vector<T>(vector.begin(), vector.end());
}
case element::Type_t::u1:
case element::Type_t::undefined:
case element::Type_t::dynamic: throw std::runtime_error("unsupported type");
default: throw std::runtime_error("unsupported type");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment