* @param blockname Name of the block to get the filename.
* @return Block's filename.
*/
- virtual string getFileName(string);
+ virtual string getFileName(const string&);
public:
/**
* @param postfix Postfix of the template files.
* @param group Starting group.
*/
- GHIT(string = string("."), string = string(".tpl"), string = string(""));
+ GHIT(const string& = string("."), const string& = string(".tpl"),
+ const string& = string(""));
/**
* Destructor.
*
* @param group Group of templates to work with.
*/
- virtual void pushGroup(string);
+ virtual void pushGroup(const string&);
/**
* Stops working with a group of templates.