diff --git a/btypes_big_integer/src/main/cpp/BRelation.hpp b/btypes_big_integer/src/main/cpp/BRelation.hpp index 9fff4ac933fb9c61b93ed29ff28791b48a9f54fb..9c8b1718505d76d61ea3fbdeb9110ff3ce332837 100644 --- a/btypes_big_integer/src/main/cpp/BRelation.hpp +++ b/btypes_big_integer/src/main/cpp/BRelation.hpp @@ -421,7 +421,7 @@ class BRelation : public BObject { BRelation rangeForRelations() const { BRelation result = BRelation(); for(const T& elem : this->range()) { - result = result._union(new BRelation((T) elem)); + result = result._union(BRelation((T) elem)); } return result; }