diff options
author | mudathirmahgoub <mudathirmahgoub@gmail.com> | 2021-03-03 02:16:32 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-03 08:16:32 +0000 |
commit | c4709cb01356dd73fdd767d19af85b36ffd566c4 (patch) | |
tree | 9ad44e16486ec4cbb2d4c6776c1d80a179cc6894 /src/theory/bags | |
parent | 80d9eab67e60ae8750165ce18ecd4eebcdc06b44 (diff) |
Add tuple projection operator (#5904)
This PR adds tuple projection operator to the theory of data types.
It Also adds helper functions for selecting elements from a tuple.
Diffstat (limited to 'src/theory/bags')
-rw-r--r-- | src/theory/bags/make_bag_op.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/theory/bags/make_bag_op.h b/src/theory/bags/make_bag_op.h index a53000651..36bd3f5df 100644 --- a/src/theory/bags/make_bag_op.h +++ b/src/theory/bags/make_bag_op.h @@ -34,7 +34,7 @@ class TypeNode; class MakeBagOp { public: - MakeBagOp(const TypeNode& elementType); + explicit MakeBagOp(const TypeNode& elementType); MakeBagOp(const MakeBagOp& op); /** return the type of the current object */ @@ -43,7 +43,6 @@ class MakeBagOp bool operator==(const MakeBagOp& op) const; private: - MakeBagOp(); /** a pointer to the type of the bag element */ std::unique_ptr<TypeNode> d_type; }; /* class MakeBagOp */ |