]> www.ginac.de Git - ginac.git/blobdiff - ginac/clifford.h
Remove dependence on depreacted std::auto_ptr<T>.
[ginac.git] / ginac / clifford.h
index ea34a9b49c2f0980d4112c21377b58d8957dbe63..bb3a7fece47ea7e335ac28b47201a792414c2422 100644 (file)
@@ -47,7 +47,7 @@ public:
 
        // internal constructors
        clifford(unsigned char rl, const ex & metr, int comm_sign, const exvector & v, bool discardable = false);
-       clifford(unsigned char rl, const ex & metr, int comm_sign, std::auto_ptr<exvector> vp);
+       clifford(unsigned char rl, const ex & metr, int comm_sign, exvector && v);
 
        // functions overriding virtual functions from base classes
 public:
@@ -58,7 +58,7 @@ protected:
        ex eval_ncmul(const exvector & v) const;
        bool match_same_type(const basic & other) const;
        ex thiscontainer(const exvector & v) const;
-       ex thiscontainer(std::auto_ptr<exvector> vp) const;
+       ex thiscontainer(exvector && v) const;
        unsigned return_type() const { return return_types::noncommutative; }
        return_type_t return_type_tinfo() const;
        // non-virtual functions in this class