comparison liboctave/file-stat.h @ 11506:964b7fd379f1

more constructor/destructor fixes
author John W. Eaton <jwe@octave.org>
date Thu, 13 Jan 2011 05:42:24 -0500
parents cbc402e64d83
children fd0a3ac60b0e
comparison
equal deleted inserted replaced
11505:9a308e96194e 11506:964b7fd379f1
73 } 73 }
74 74
75 return *this; 75 return *this;
76 } 76 }
77 77
78 ~base_file_stat (void) { }
79
80 // The minimum difference in file time stamp values. 78 // The minimum difference in file time stamp values.
81 // FIXME -- this value should come from the filesystem itself. How 79 // FIXME -- this value should come from the filesystem itself. How
82 // can we get that info? 80 // can we get that info?
83 octave_time time_resolution (void) const 81 octave_time time_resolution (void) const
84 { 82 {
145 // really care about it. 143 // really care about it.
146 static int is_newer (const std::string&, const octave_time&); 144 static int is_newer (const std::string&, const octave_time&);
147 145
148 protected: 146 protected:
149 147
148 virtual ~base_file_stat (void) { }
149
150 // TRUE means we have already called stat. 150 // TRUE means we have already called stat.
151 bool initialized; 151 bool initialized;
152 152
153 // TRUE means the stat for this file failed. 153 // TRUE means the stat for this file failed.
154 bool fail; 154 bool fail;