]> cygwin.com Git - cygwin-apps/setup.git/blobdiff - PickLine.h
2002-07-15 Robert Collins <rbtcollins@hotmail.com>
[cygwin-apps/setup.git] / PickLine.h
index 53543ede2ff9ae40de7c783f41c701b8d44cdd80..14c35f19678003bdfbe56bf1f34166d71e49cffb 100644 (file)
@@ -29,8 +29,7 @@ public:
   // this may indicate bad inheritance model.
   virtual bool IsContainer (void) const = 0;
   virtual void insert (PickLine &) = 0;
-  // Never allocate to key, always allocated elsewhere
-  char const *key;
+  String const key;
   virtual ~ PickLine ()
   {
   };
@@ -38,7 +37,7 @@ protected:
   PickLine ()
   {
   };
-  PickLine (char const *aKey):key (aKey)
+  PickLine (String const &aKey):key (aKey)
   {
   };
   PickLine (PickLine const &);
This page took 0.024036 seconds and 5 git commands to generate.