Commit 27d4f16a authored by Scott Cyphers's avatar Scott Cyphers

Remove copy-assigns.

parent 4e682903
...@@ -31,6 +31,7 @@ namespace ngraph ...@@ -31,6 +31,7 @@ namespace ngraph
class Type class Type
{ {
Type(const Type&) = delete; Type(const Type&) = delete;
Type& operator=(const Type&) = delete;
public: public:
Type(size_t bitwidth, bool is_float, bool is_signed, const std::string& cname); Type(size_t bitwidth, bool is_float, bool is_signed, const std::string& cname);
...@@ -77,6 +78,7 @@ namespace ngraph ...@@ -77,6 +78,7 @@ namespace ngraph
class TraitedType : public Type class TraitedType : public Type
{ {
TraitedType(const TraitedType&) = delete; TraitedType(const TraitedType&) = delete;
TraitedType& operator=(const TraitedType&) = delete;
protected: protected:
TraitedType() TraitedType()
: Type(sizeof(T) * 8, : Type(sizeof(T) * 8,
......
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