]> cygwin.com Git - cygwin-apps/setup.git/commitdiff
2010-08-29 Jon TURNEY <jon.turney@dronecode.org.uk>
authorJon TURNEY <jon.turney@dronecode.org.uk>
Sun, 29 Aug 2010 10:08:16 +0000 (10:08 +0000)
committerJon TURNEY <jon.turney@dronecode.org.uk>
Sun, 29 Aug 2010 10:08:16 +0000 (10:08 +0000)
* script.h (Script): Add operator ==

script.h

index 32c9de4d31c82dbd89e47b21bfd93eea585ed9d0..144fd71518c0125467315ddc81840aea1d113ad5 100644 (file)
--- a/script.h
+++ b/script.h
@@ -35,6 +35,7 @@ public:
    or command.com (9x).  Returns the exit status of the process, or 
    negative error if any.  */
   int run() const;
+  bool operator == (const Script s) { return s.scriptName == scriptName; } ;
 private:
   std::string scriptName;
   static char const ETCPostinstall[];
This page took 0.033675 seconds and 5 git commands to generate.