diff libinterp/octave-value/ov-cell.h @ 21307:61c96c37ce69

Use std::unique_ptr to replace deprecated std::auto_ptr. * ov-cell.h, event-queue.h, txt-eng.h, idx-vector.cc, idx-vector.h, unwind-prot.h: Use std::unique_ptr to replace deprecated std::auto_ptr.
author Rik <rik@octave.org>
date Fri, 19 Feb 2016 09:41:41 -0800
parents 1473547f50f5
children c4ab2e54f100
line wrap: on
line diff
--- a/libinterp/octave-value/ov-cell.h	Thu Feb 18 21:20:01 2016 -0800
+++ b/libinterp/octave-value/ov-cell.h	Fri Feb 19 09:41:41 2016 -0800
@@ -182,7 +182,7 @@
   void clear_cellstr_cache (void) const
   { cellstr_cache.reset (); }
 
-  mutable std::auto_ptr<Array<std::string> > cellstr_cache;
+  mutable std::unique_ptr<Array<std::string> > cellstr_cache;
 
 
   DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA