diff libinterp/octave-value/ov-mex-fcn.h @ 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 1473547f50f5
children 6720e5a220ba
line wrap: on
line diff
--- a/libinterp/octave-value/ov-mex-fcn.h	Wed May 18 13:11:15 2016 -0400
+++ b/libinterp/octave-value/ov-mex-fcn.h	Wed May 18 15:23:05 2016 -0400
@@ -69,13 +69,13 @@
 
   const octave_function *function_value (bool = false) const { return this; }
 
-  void mark_fcn_file_up_to_date (const octave_time& t) { t_checked = t; }
+  void mark_fcn_file_up_to_date (const octave::sys::time& t) { t_checked = t; }
 
   std::string fcn_file_name (void) const;
 
-  octave_time time_parsed (void) const;
+  octave::sys::time time_parsed (void) const;
 
-  octave_time time_checked (void) const { return t_checked; }
+  octave::sys::time time_checked (void) const { return t_checked; }
 
   bool is_system_fcn_file (void) const { return system_fcn_file; }
 
@@ -103,7 +103,7 @@
 
   // The time the file was last checked to see if it needs to be
   // parsed again.
-  mutable octave_time t_checked;
+  mutable octave::sys::time t_checked;
 
   // True if this function came from a file that is considered to be a
   // system function.  This affects whether we check the time stamp