瀏覽代碼

ENH: fix return type

Bill Hoffman 17 年之前
父節點
當前提交
5d5fd641c3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmCTest.h

+ 1 - 1
Source/cmCTest.h

@@ -172,7 +172,7 @@ public:
 
   ///! The max output width
   int GetMaxTestNameWidth() const;
-  int SetMaxTestNameWidth(int w) { this->MaxTestNameWidth = w;}
+  void SetMaxTestNameWidth(int w) { this->MaxTestNameWidth = w;}
 
   /**
    * Run a single executable command and put the stdout and stderr