]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/base.h
And the bit I missed... :/
[user/henk/code/inspircd.git] / include / base.h
index ac03a748c56d59927ad237969f48a1936f3bbc8e..43a3101bdc4f6d71ff535752f148b9371c20e517 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  Inspire is copyright (C) 2002-2004 ChatSpike-Dev.
+ *  InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
  *                       E-mail:
  *                <brain@chatspike.net>
  *               <Craig@chatspike.net>
@@ -67,7 +67,7 @@ public:
         *
         * @return Returns true on success, false if otherwise
         */
-       bool Extend(std::string key, char* p);
+       bool Extend(const std::string &key, char* p);
 
        /** Shrink an Extensible class.
         *
@@ -78,7 +78,7 @@ public:
         *
         * @return Returns true on success.
         */
-       bool Shrink(std::string key);
+       bool Shrink(const std::string &key);
        
        /** Get an extension item.
         *
@@ -86,7 +86,7 @@ public:
         *
         * @return If you provide a non-existent key name, the function returns NULL, otherwise a pointer to the item referenced by the key is returned.
         */
-       char* GetExt(std::string key);
+       char* GetExt(const std::string &key);
 
        /** Get a list of all extension items names.
         *
@@ -160,4 +160,3 @@ class BoolSet
 
 
 #endif
-