mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 22:30:07 -05:00
strings: Remove cmStdString references
Casts from std::string -> cmStdString were high on the list of things taking up time. Avoid such implicit casts across function calls by just using std::string everywhere. The comment that the symbol name is too long is no longer relevant since modern debuggers alias the templates anyways and the size is a non-issue since the underlying methods are generated since it's inherited.
This commit is contained in:
@@ -72,7 +72,7 @@ public:
|
||||
/** Backtrace of the command that created this custom command. */
|
||||
cmListFileBacktrace const& GetBacktrace() const;
|
||||
|
||||
typedef std::pair<cmStdString, cmStdString> ImplicitDependsPair;
|
||||
typedef std::pair<std::string, std::string> ImplicitDependsPair;
|
||||
class ImplicitDependsList: public std::vector<ImplicitDependsPair> {};
|
||||
void SetImplicitDepends(ImplicitDependsList const&);
|
||||
void AppendImplicitDepends(ImplicitDependsList const&);
|
||||
|
||||
Reference in New Issue
Block a user