• Rolf Eike Beer's avatar
    cmMakefile: make some methods take const std::string& instead of const char* · c768e398
    Rolf Eike Beer authored and Brad King's avatar Brad King committed
    Most callers already have a std::string, on which they called c_str() to pass it
    into these methods, which internally converted it back to std::string. Pass a
    std::string directly to these methods now, avoiding all these conversions.
    Those methods that only pass in a const char* will get the conversion to
    std::string now only once.
cmGeneratorExpressionEvaluator.cxx 63.3 KB