diff options
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index edee02b..a864074 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -401,8 +401,7 @@ public: } const char* GetIncludeRegularExpression() const { - cmProp p = this->GetProperty("INCLUDE_REGULAR_EXPRESSION"); - return p ? p->c_str() : nullptr; + return cmToCStr(this->GetProperty("INCLUDE_REGULAR_EXPRESSION")); } /** |