Просмотр исходного кода

avoid file-scope const variables (helps with SunCC)

[SVN r11116]
Jens Maurer 25 лет назад
Родитель
Сommit
43903f1243
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      status/regression.cpp

+ 2 - 2
status/regression.cpp

@@ -235,8 +235,8 @@ void read_compiler_configuration(const std::string & file, OutputIterator out)
   }
 }
 
-const std::string pass_string = "Pass";
-const std::string fail_string = "<font color=\"#FF0000\">Fail</font>";
+std::string pass_string = "Pass";
+std::string fail_string = "<font color=\"#FF0000\">Fail</font>";
 
 // map test name to results, one character ("P" or "F") for each compiler
 typedef std::map<std::string, std::string> previous_results_type;

粤ICP备19079148号