mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-01 23:30:35 +00:00
Bug Fix: NodeArg class has a move constructor but doesn't have a move assignment operator
This commit is contained in:
parent
d6849bd26c
commit
67755adfd8
1 changed files with 1 additions and 2 deletions
|
|
@ -39,6 +39,7 @@ class NodeArg {
|
|||
const ONNX_NAMESPACE::TypeProto* p_arg_type);
|
||||
|
||||
NodeArg(NodeArg&&) = default;
|
||||
NodeArg& operator=(NodeArg&& other) = default;
|
||||
|
||||
/** Gets the name. */
|
||||
const std::string& Name() const noexcept;
|
||||
|
|
@ -89,8 +90,6 @@ class NodeArg {
|
|||
void SetType(ONNX_NAMESPACE::DataType p_type);
|
||||
void SetType(const ONNX_NAMESPACE::TypeProto& type_proto);
|
||||
|
||||
NodeArg& operator=(NodeArg&& other) = delete;
|
||||
|
||||
// Node arg PType.
|
||||
ONNX_NAMESPACE::DataType type_;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue