[cmake-commits] alex committed cmCustomCommand.h 1.20 1.20.4.1

cmake-commits at cmake.org cmake-commits at cmake.org
Mon May 7 14:27:21 EDT 2007


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv5290

Modified Files:
      Tag: CMake-ACC-TargetUsedAsCommand
	cmCustomCommand.h 
Log Message:

STYLE: IsUsed() is const, semicolons are not required

Alex


Index: cmCustomCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmCustomCommand.h,v
retrieving revision 1.20
retrieving revision 1.20.4.1
diff -u -d -r1.20 -r1.20.4.1
--- cmCustomCommand.h	4 Oct 2006 19:24:24 -0000	1.20
+++ cmCustomCommand.h	7 May 2007 18:27:19 -0000	1.20.4.1
@@ -69,8 +69,8 @@
   void SetEscapeAllowMakeVars(bool b);
 
   /** set get the used status of the command */ 
-  void SetUsed() { this->Used = true;}; 
-  bool IsUsed() { return this->Used;};
+  void SetUsed() { this->Used = true;}
+  bool IsUsed() const { return this->Used;}
  
 private:
   std::vector<std::string> Outputs;



More information about the Cmake-commits mailing list