浏览代码

VS: Remove unused method from VS 9 generator

Brad King 11 年之前
父节点
当前提交
d3d9218a52
共有 2 个文件被更改,包括 0 次插入10 次删除
  1. 0 8
      Source/cmGlobalVisualStudio9Generator.cxx
  2. 0 2
      Source/cmGlobalVisualStudio9Generator.h

+ 0 - 8
Source/cmGlobalVisualStudio9Generator.cxx

@@ -121,14 +121,6 @@ cmLocalGenerator *cmGlobalVisualStudio9Generator::CreateLocalGenerator()
   return lg;
   return lg;
 }
 }
 
 
-//----------------------------------------------------------------------------
-void cmGlobalVisualStudio9Generator
-::EnableLanguage(std::vector<std::string>const &  lang,
-                 cmMakefile *mf, bool optional)
-{
-  cmGlobalVisualStudio8Generator::EnableLanguage(lang, mf, optional);
-}
-
 //----------------------------------------------------------------------------
 //----------------------------------------------------------------------------
 std::string cmGlobalVisualStudio9Generator::GetUserMacrosDirectory()
 std::string cmGlobalVisualStudio9Generator::GetUserMacrosDirectory()
 {
 {

+ 0 - 2
Source/cmGlobalVisualStudio9Generator.h

@@ -35,8 +35,6 @@ public:
    * Try to determine system infomation such as shared library
    * Try to determine system infomation such as shared library
    * extension, pthreads, byte order etc.
    * extension, pthreads, byte order etc.
    */
    */
-  virtual void EnableLanguage(std::vector<std::string>const& languages,
-                              cmMakefile *, bool optional);
   virtual void WriteSLNHeader(std::ostream& fout);
   virtual void WriteSLNHeader(std::ostream& fout);
 
 
   /**
   /**