浏览代码

ENH: Removed unused methods that should never be used anyway.

Brad King 18 年之前
父节点
当前提交
25db01d7c4
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      Source/cmSourceFile.h

+ 0 - 3
Source/cmSourceFile.h

@@ -82,21 +82,18 @@ public:
    * The full path to the file.
    * The full path to the file.
    */
    */
   const std::string &GetFullPath() const {return this->FullPath;}
   const std::string &GetFullPath() const {return this->FullPath;}
-  void SetFullPath(const char *name) {this->FullPath = name;}
 
 
   /**
   /**
    * The file name associated with stripped off directory and extension.
    * The file name associated with stripped off directory and extension.
    * (In most cases this is the name of the class.)
    * (In most cases this is the name of the class.)
    */
    */
   const std::string &GetSourceName() const {return this->SourceName;}
   const std::string &GetSourceName() const {return this->SourceName;}
-  void SetSourceName(const char *name) {this->SourceName = name;}
 
 
   /**
   /**
    * The file extension associated with source file
    * The file extension associated with source file
    */
    */
   const std::string &GetSourceExtension() const {
   const std::string &GetSourceExtension() const {
     return this->SourceExtension;}
     return this->SourceExtension;}
-  void SetSourceExtension(const char *name) {this->SourceExtension = name;}
 
 
   /**
   /**
    * Return the vector that holds the list of dependencies
    * Return the vector that holds the list of dependencies