diff libinterp/corefcn/data.cc @ 21730:30c53770f47e

use namespace for system time classes * oct-time.h, oct-time.cc: Put time classes in octave::sys namespace. Change all uses. (octave_time, octave_base_tm, octave_localtime, octave_gmtime, octave_strptime): Now deprecated typedefs for corresponding classes in octave::sys namespace.
author John W. Eaton <jwe@octave.org>
date Wed, 18 May 2016 15:23:05 -0400
parents aba2e6293dd8
children b571fc85953f
line wrap: on
line diff
--- a/libinterp/corefcn/data.cc	Wed May 18 13:11:15 2016 -0400
+++ b/libinterp/corefcn/data.cc	Wed May 18 15:23:05 2016 -0400
@@ -6250,7 +6250,7 @@
     warning ("tic: ignoring extra arguments");
 
   octave_value retval;
-  octave_time now;
+  octave::sys::time now;
   double tmp = now.double_value ();
 
   if (nargout > 0)
@@ -6300,7 +6300,7 @@
   if (start_time < 0)
     error ("toc called before timer set");
 
-  octave_time now;
+  octave::sys::time now;
 
   double etime = now.double_value () - start_time;