Mercurial > hg > octave-lyh
diff src/fn-cache.h @ 2432:874f758eade5
[project @ 1996-10-26 16:37:36 by jwe]
author | jwe |
---|---|
date | Sat, 26 Oct 1996 16:37:37 +0000 |
parents | a45c7d64b5e3 |
children | 8b262e771614 |
line wrap: on
line diff
--- a/src/fn-cache.h +++ b/src/fn-cache.h @@ -39,7 +39,11 @@ { public: - file_name_cache_elt (const string& dir_name = string ()) + file_name_cache_elt (void) + : timestamp (0), fcn_file_names (), fcn_file_names_no_suffix () + { update (string ()); } + + file_name_cache_elt (const string& dir_name) : timestamp (0), fcn_file_names (), fcn_file_names_no_suffix () { update (dir_name); } @@ -85,13 +89,13 @@ octave_fcn_file_name_cache (void) : cache (file_name_cache_elt ()) - { update (); } + { update (string ()); } public: ~octave_fcn_file_name_cache (void) { } - bool update (const string& path = string ()); + bool update (const string& path); static string_vector list (bool no_suffix = false) { return list (string (), no_suffix); }