summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaTargetGenerator.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-10 04:09:05 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:37 (GMT)
commit3def29da3c16ad3a72f05ea8b97ee728e6e3581e (patch)
treedd51569f6c5d8f6f8e35518f7fbc94054552d9a4 /Source/cmNinjaTargetGenerator.h
parentacb116e3b52362b41988aa27eeb593dd2e7194c0 (diff)
downloadCMake-3def29da3c16ad3a72f05ea8b97ee728e6e3581e.zip
CMake-3def29da3c16ad3a72f05ea8b97ee728e6e3581e.tar.gz
CMake-3def29da3c16ad3a72f05ea8b97ee728e6e3581e.tar.bz2
stringapi: Use strings for feature arguments
Diffstat (limited to 'Source/cmNinjaTargetGenerator.h')
-rw-r--r--Source/cmNinjaTargetGenerator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmNinjaTargetGenerator.h b/Source/cmNinjaTargetGenerator.h
index c2e1947..e66e55f 100644
--- a/Source/cmNinjaTargetGenerator.h
+++ b/Source/cmNinjaTargetGenerator.h
@@ -70,8 +70,8 @@ protected:
std::string LanguageCompilerRule(const std::string& lang) const
{ return lang + "_COMPILER"; }
- const char* GetFeature(const char* feature);
- bool GetFeatureAsBool(const char* feature);
+ const char* GetFeature(const std::string& feature);
+ bool GetFeatureAsBool(const std::string& feature);
void AddFeatureFlags(std::string& flags, const std::string& lang);
/**