diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-08-22 15:58:17 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-08-22 15:58:17 (GMT) |
commit | ddd5a7d7290390771dbe8d41ea9ef737ce4d0c62 (patch) | |
tree | 9ccc824cb9248e886ea77dc98ff254addbe8c9bf /Source/cmStandardIncludes.h | |
parent | 032106c3379d26f28b3b7953165d8fc018f772af (diff) | |
download | CMake-ddd5a7d7290390771dbe8d41ea9ef737ce4d0c62.zip CMake-ddd5a7d7290390771dbe8d41ea9ef737ce4d0c62.tar.gz CMake-ddd5a7d7290390771dbe8d41ea9ef737ce4d0c62.tar.bz2 |
ENH: change all maps of string to be maps of cmStdString, to reduce symbol length in object files.
Diffstat (limited to 'Source/cmStandardIncludes.h')
-rw-r--r-- | Source/cmStandardIncludes.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h index 70c280a..ffae33a 100644 --- a/Source/cmStandardIncludes.h +++ b/Source/cmStandardIncludes.h @@ -131,4 +131,16 @@ inline bool operator==(std::string const& a, const char* b) { return (a==std::string(b)); } # endif // end CM_SGI_CC_720 + +struct cmStdString : public std::string +{ + typedef std::string Parent; + cmStdString(const char* s) : Parent(s) + { + } + cmStdString(std::string const&s) : Parent(s) + { + } +}; + #endif |