]> git.saurik.com Git - apt.git/commitdiff
Return type of ClearPatterns and AddPattern should be void
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 17:04:35 +0000 (17:04 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 17:04:35 +0000 (17:04 +0000)
Author: mdz
Date: 2003-12-26 22:55:13 GMT
Return type of ClearPatterns and AddPattern should be void

ftparchive/writer.h

index f347ca3b3793e8495c22c8c846421e4580502cff..6c47fb93344f53586228bae929bff2b0f82cccbb 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: writer.h,v 1.6 2003/12/26 20:50:01 mdz Exp $
+// $Id: writer.h,v 1.7 2003/12/26 22:55:13 mdz Exp $
 /* ######################################################################
 
    Writer 
@@ -67,8 +67,8 @@ class FTWScanner
    virtual bool DoPackage(string FileName) = 0;
    bool RecursiveScan(string Dir);
    bool LoadFileList(string BaseDir,string File);
-   bool ClearPatterns() { Patterns.clear(); };
-   bool AddPattern(string Pattern) { Patterns.push_back(Pattern); };
+   void ClearPatterns() { Patterns.clear(); };
+   void AddPattern(string Pattern) { Patterns.push_back(Pattern); };
    bool SetExts(string Vals);
       
    FTWScanner();