Commit 89b3019e authored by baojun's avatar baojun Committed by Scott Cyphers

resolve compiler warning (#3923)

parent 4fe2da61
......@@ -32,6 +32,7 @@ namespace ngraph
{
public:
virtual const DiscreteTypeInfo& get_type_info() const = 0;
virtual ~ValueAccessor() {}
};
/// ValueAccessor<T> represents values that support get/set through T
......@@ -39,7 +40,6 @@ namespace ngraph
class ValueAccessor : public ValueAccessor<void>
{
public:
virtual ~ValueAccessor() {}
virtual const DiscreteTypeInfo& get_type_info() const = 0;
/// Returns the value
virtual const T& get() = 0;
......
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