Mercurial > jwe > octave
diff libinterp/corefcn/input.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 | f4d7d0eb5b0c |
line wrap: on
line diff
--- a/libinterp/corefcn/input.cc Wed May 18 13:11:15 2016 -0400 +++ b/libinterp/corefcn/input.cc Wed May 18 15:23:05 2016 -0400 @@ -94,7 +94,7 @@ int Vecho_executing_commands = ECHO_OFF; // The time we last printed a prompt. -octave_time Vlast_prompt_time = 0.0; +octave::sys::time Vlast_prompt_time = 0.0; // Character to append after successful command-line completion attempts. static char Vcompletion_append_char = ' ';