Commit 171beeb8 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

TestXMLWriteRead: fix cppcheck warnings.

parent 90cd7ca4
......@@ -25,7 +25,7 @@
namespace
{
template <typename T>
int TestConvertType(std::string type, std::string fileName);
int TestConvertType(const std::string& type, const std::string& fileName);
}
int TestXMLWriteRead(int argc, char* argv[])
{
......@@ -50,7 +50,7 @@ int TestXMLWriteRead(int argc, char* argv[])
namespace
{
template <typename T>
int TestConvertType(std::string type, std::string fileName)
int TestConvertType(const std::string& type, const std::string& fileName)
{
std::cout << "Testing type " << type << std::endl;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment