summaryrefslogtreecommitdiffstats
path: root/Source/cmStandardIncludes.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-08-22 15:58:17 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-08-22 15:58:17 (GMT)
commitddd5a7d7290390771dbe8d41ea9ef737ce4d0c62 (patch)
tree9ccc824cb9248e886ea77dc98ff254addbe8c9bf /Source/cmStandardIncludes.h
parent032106c3379d26f28b3b7953165d8fc018f772af (diff)
downloadCMake-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.h12
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