]> www.ginac.de Git - ginac.git/blobdiff - ginac/container.h
Remove 'discardable' option from ctors of container and derived classes.
[ginac.git] / ginac / container.h
index cca5c673780a2e69f20f962c0d482885ed6405fd..3c1ac47eb688356fcd740f93149c358b1959715b 100644 (file)
@@ -142,14 +142,10 @@ protected:
 
        // constructors
 public:
-       container(STLT const & s, bool discardable = false)
+       container(STLT const & s)
        {
                setflag(get_default_flags());
-
-               if (discardable)
-                       this->seq.swap(const_cast<STLT &>(s));
-               else
-                       this->seq = s;
+               this->seq = s;
        }
 
        explicit container(STLT && v)