nouveau: Fix gcc6 / c++11 auto_ptr deprecation compiler warnings

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
Hans de Goede 2016-06-29 13:09:11 +02:00
parent 2aa1197eee
commit 1f3c8f3664

View file

@ -94,7 +94,11 @@ public:
virtual void reset() { assert(0); } // only for graph iterators
};
#if __cplusplus >= 201103L
typedef std::unique_ptr<Iterator> IteratorRef;
#else
typedef std::auto_ptr<Iterator> IteratorRef;
#endif
class ManipIterator : public Iterator
{