diff --git a/Source/cmProcessTools.h b/Source/cmProcessTools.h index f8b2c5256..083a06727 100644 --- a/Source/cmProcessTools.h +++ b/Source/cmProcessTools.h @@ -35,6 +35,8 @@ public: in any more data and false if it is done. */ bool Process(const char* data, int length) { return this->ProcessChunk(data, length); } + bool Process(const char* data) + { return this->Process(data, static_cast(strlen(data))); } virtual ~OutputParser() {} protected: