Passing std::string by copy is quite inefficient; 'const &' is better.
The attached patch also adds 'const' qualifier to several methods, cleans up included headers and removes extra white space.
Log in to post a comment.