Fix warning about char* instead of const char*.
This commit is contained in:
parent
e6412e084e
commit
dd07161c51
|
@ -351,7 +351,7 @@ bool cmParseGTMCoverage::ReadMCovFile(const char* file)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// try some alternate names
|
// try some alternate names
|
||||||
char* tryname[] = {"GUX", "GTM", "ONT", 0};
|
const char* tryname[] = {"GUX", "GTM", "ONT", 0};
|
||||||
for(int k=0; tryname[k] != 0; k++)
|
for(int k=0; tryname[k] != 0; k++)
|
||||||
{
|
{
|
||||||
std::string routine2 = routine + tryname[k];
|
std::string routine2 = routine + tryname[k];
|
||||||
|
|
Loading…
Reference in New Issue