Mercurial > octave-nkf
comparison liboctave/oct-time.cc @ 11501:331fcc41ca23
data member initialization fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 13 Jan 2011 03:04:51 -0500 |
parents | 0de4eff677d6 |
children | fd0a3ac60b0e |
comparison
equal
deleted
inserted
replaced
11500:7aeb4eb7403f | 11501:331fcc41ca23 |
---|---|
37 #include "lo-math.h" | 37 #include "lo-math.h" |
38 #include "lo-utils.h" | 38 #include "lo-utils.h" |
39 #include "oct-time.h" | 39 #include "oct-time.h" |
40 | 40 |
41 octave_time::octave_time (const octave_base_tm& tm) | 41 octave_time::octave_time (const octave_base_tm& tm) |
42 : ot_unix_time (), ot_usec () | |
42 { | 43 { |
43 struct tm t; | 44 struct tm t; |
44 | 45 |
45 t.tm_sec = tm.sec (); | 46 t.tm_sec = tm.sec (); |
46 t.tm_min = tm.min (); | 47 t.tm_min = tm.min (); |