diff options
-rw-r--r-- | Source/cmProcessTools.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmProcessTools.h b/Source/cmProcessTools.h index f8b2c52..083a067 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<int>(strlen(data))); } virtual ~OutputParser() {} protected: |