From ae8406cd3eca05b5ad4fb742256353581c345b64 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 26 Apr 2004 10:17:09 +0000 Subject: fixe for old compiler --- src/FbTk/Directory.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FbTk/Directory.cc b/src/FbTk/Directory.cc index 1f2ac7d..30a2a9f 100644 --- a/src/FbTk/Directory.cc +++ b/src/FbTk/Directory.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Directory.cc,v 1.3 2004/04/19 18:09:15 fluxgen Exp $ +// $Id: Directory.cc,v 1.4 2004/04/26 10:17:09 fluxgen Exp $ #include "Directory.hh" @@ -60,7 +60,7 @@ std::string Directory::readFilename() { void Directory::close() { if (m_dir != 0) { closedir(m_dir); - m_name.clear(); + m_name = ""; m_dir = 0; m_num_entries = 0; } -- cgit v0.11.2